Author |
|
Mathan Karthik R
Joined: 02 May 2014 Posts: 4 Location: India
|
Posted: Fri 02 May '14 11:30 Post subject: DER SSL certificates vs Apache 2.4.9 ? |
|
|
I'm facing problem with latest Apache 2.4.9. Previously we used Apache 2.4.7 version which supports DER SSL certificates. But Latest Apache(2.4.9) is not working with DER SSL certificates. I have to convert DER certificate to PEM format to start the Apache server. Am i missing anything ? Is DER certificate not supported in Apache 2.4.9 ? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Fri 02 May '14 17:40 Post subject: |
|
|
What does your error log say to the DER issue? |
|
Back to top |
|
Mathan Karthik R
Joined: 02 May 2014 Posts: 4 Location: India
|
Posted: Fri 02 May '14 18:47 Post subject: |
|
|
Hi James Blond,
Thanks for the reply. Please find the error message,
Quote: | Starting the Component - Apache service
[Fri May 02 14:27:34.169535 2014] [ssl:emerg] [pid 9108:tid 320] AH02562: Failed to configure certificate *********:8383:0 (with chain), check apache/conf/server.crt
[Fri May 02 14:27:34.169535 2014] [ssl:emerg] [pid 9108:tid 320] SSL Library Error: error:0906D06C:PEM routines:PEM_read_bio:no start line (Expecting: TRUSTED CERTIFICATE) -- Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?
[Fri May 02 14:27:34.169535 2014] [ssl:emerg] [pid 9108:tid 320] SSL Library Error: error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib
AH00016: Configuration Failed
The Component - Apache service is running.
|
Using the below command, I've converted my DER certificate to PEM, It worked. But I want to know, Is it possible to use DER without converting it ?
Code: | openssl x509 -inform der -in certificate.cer -out certificate.pem |
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 05 May '14 16:44 Post subject: |
|
|
I think it is related to the OpenSSL you use. Did you download your apache from Apache lounge? |
|
Back to top |
|
rks4sm
Joined: 28 Nov 2013 Posts: 17 Location: New Delhi
|
Posted: Wed 25 Jun '14 17:31 Post subject: |
|
|
Hi,
We are also facing the same issue?
The apache service did not start after the update and log suggest the same error as you showed in your post.
How can we resolve his issue?
DO I need to convert my server certificate and the Intermediate certificate from DER(crt) to PEM?
TIA,
rakesh |
|
Back to top |
|
Mathan Karthik R
Joined: 02 May 2014 Posts: 4 Location: India
|
Posted: Fri 27 Jun '14 4:43 Post subject: |
|
|
Still, I haven't found the root cause for this issue. I'm converting the DER certificate and using the same.
Mathan Karthik R |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
|
Back to top |
|