logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: updating apache from 2.4.6 to 2.4.9 breaks the openSSL
Author
rks4sm



Joined: 28 Nov 2013
Posts: 17
Location: New Delhi

PostPosted: Wed 25 Jun '14 17:19    Post subject: updating apache from 2.4.6 to 2.4.9 breaks the openSSL Reply with quote

Hi,

Last week I have updated the apache from 2.4.6 to 2.4.9 version in Win 2008, 64-bit server.
There was no openSSL and update was successful.

Later I did the update in QA with openSSL
and again the updte was successfully completed. Apache services was running fine and everything looked nice.

When I did the same update in the prd where openSSL is also there, it failed to start the service.


steps to update the apache from 2.4.6 to 2.4.9
----------------------------------------------
1> stop the apache services
2> Take the backup by copying original Apache installation directory and rename it . (eg I:\Program Files (x86)\Apache Software Foundation\Apache2.2 to Apache2.2_old)
3> Unzip the latest binaries to the temp directory
4> Copy the following files apache\bin , apache\modules to the Apache Inst Directory ( I:\Program Files (x86)\Apache Software Foundation\Apache2.2)
5> start the apache service

----------------------------------------------------

QA and PRD both has enabled openSSL but it was prd where we got the issue , and the apache services couldnt be started.
We have had to revert the change.

Find the error log in the apache directory
--------------------------

[Tue Jun 24 21:12:12.665632 2014] [ssl:emerg] [pid 3336:tid 320] AH02561: Failed to configure certificate

RGWEB58V.brotherdc.eu:443:0, check G:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/server.crt
[Tue Jun 24 21:12:12.665632 2014] [ssl:emerg] [pid 3336:tid 320] SSL Library Error: error:0906D06C:PEM

routines:PEM_read_bio:no start line (Expecting: CERTIFICATE) -- Bad file contents or format - or even just a

forgotten SSLCertificateKeyFile?
[Tue Jun 24 21:12:12.665632 2014] [ssl:emerg] [pid 3336:tid 320] SSL Library Error: error:140AD009:SSL

routines:SSL_CTX_use_certificate_file:PEM lib

---------------------------------------

I read somewhere that there is bug in 2.4.9 as this version breaks the openSSL.
Also read on this forum that someone resolved the issu by changing the server certificate from DER to PEM.

Can you please help this issue to resolve?
Back to top
jraute



Joined: 13 Sep 2013
Posts: 188
Location: Rheinland, Germany

PostPosted: Wed 25 Jun '14 22:40    Post subject: Reply with quote

Is it a typo or why is the installation-path I:\Program Files (x86)\Apache Software Foundation\Apache2.2... and your certificate-path G:\Program Files (x86)\Apache Software Foundation\Apache2.2... ?

Pls check the pathes!
Back to top
rks4sm



Joined: 28 Nov 2013
Posts: 17
Location: New Delhi

PostPosted: Thu 26 Jun '14 11:59    Post subject: Reply with quote

No, that is just because I and G are drives from two different systems.

That is perfectly fine.
Back to top
jraute



Joined: 13 Sep 2013
Posts: 188
Location: Rheinland, Germany

PostPosted: Sun 29 Jun '14 10:21    Post subject: Reply with quote

Is your apache installation in your production environment a copy of your qa-system? if not try that and check the pathes.

Greets
JR
Back to top
rks4sm



Joined: 28 Nov 2013
Posts: 17
Location: New Delhi

PostPosted: Wed 02 Jul '14 22:21    Post subject: Reply with quote

Hi,

No There is no path issues for two different systems.

I just replaced bin and modules from the latest binaries to the Apache directory (G:\Program Files (x86)\Apache Software Foundation\Apache2.2) and re started the apache service.

But couldn't start the Apache service.
Back to top
timo



Joined: 03 Jun 2012
Posts: 45
Location: FI, EU

PostPosted: Thu 03 Jul '14 5:24    Post subject: Reply with quote

Is SSLCertificateFile PEM-coded?
Back to top
rks4sm



Joined: 28 Nov 2013
Posts: 17
Location: New Delhi

PostPosted: Thu 03 Jul '14 11:29    Post subject: Reply with quote

Hi ,

No it's DER coded.

I tried to convert DER to PEM and but that did not work either.

See the error I saw during the issue:
----------------------------------------
[Wed Jul 02 21:14:21.509234 2014] [ssl:warn] [pid 2428:tid 320] AH01909: RSA certificate configured for abc.xyz.eu:443 does NOT include an ID which matches the server name
[Wed Jul 02 21:14:21.899237 2014] [ssl:warn] [pid 2428:tid 320] AH01909: RSA certificate configured for abc.xyz.eu:443 does NOT include an ID which matches the server name

--------------------------------------------

Is this warning trivial or related to my issue?

Thanks,
Rakesh
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3093
Location: Hilversum, NL, EU

PostPosted: Thu 03 Jul '14 15:31    Post subject: Reply with quote

Maybe you can post your issues also at http://httpd.apache.org/userslist.html .

Httpd developers are following also this list.
Back to top


Reply to topic   Topic: updating apache from 2.4.6 to 2.4.9 breaks the openSSL View previous topic :: View next topic
Post new topic   Forum Index -> Apache