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: Init: Pass phrase incorrect for key
Author
rekha_ms



Joined: 30 Apr 2018
Posts: 1
Location: india

PostPosted: Fri 04 May '18 8:00    Post subject: Init: Pass phrase incorrect for key Reply with quote

[Fri May 04 11:24:55.752789 2018] [ssl:emerg] [pid 4856:tid 320] AH02580: Init: Pass phrase incorrect for key localhost:443:0
[Fri May 04 11:24:55.752789 2018] [ssl:emerg] [pid 4856:tid 320] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Fri May 04 11:24:55.752789 2018] [ssl:emerg] [pid 4856:tid 320] SSL Library Error: error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error
[Fri May 04 11:24:55.752789 2018] [ssl:emerg] [pid 4856:tid 320] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Fri May 04 11:24:55.752789 2018] [ssl:emerg] [pid 4856:tid 320] SSL Library Error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=RSA)
[Fri May 04 11:24:55.752789 2018] [ssl:emerg] [pid 4856:tid 320] SSL Library Error: error:04093004:rsa routines:OLD_RSA_PRIV_DECODE:RSA lib
[Fri May 04 11:24:55.752789 2018] [ssl:emerg] [pid 4856:tid 320] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Fri May 04 11:24:55.752789 2018] [ssl:emerg] [pid 4856:tid 320] SSL Library Error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=PKCS8_PRIV_KEY_INFO)
[Fri May 04 11:24:55.752789 2018] [ssl:emerg] [pid 4856:tid 320] AH02311: Fatal error initialising mod_ssl, exiting. See C:/Apache24/logs/error.log for more information
[Fri May 04 11:24:55.752789 2018] [ssl:emerg] [pid 4856:tid 320] AH02564: Failed to configure encrypted (?) private key localhost:443:0, check C:/Apache24/conf/server.key
AH00016: Configuration Failed
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Mon 07 May '18 10:35    Post subject: Reply with quote

You can edit the config file so it contains:


Code:
SSLPassPhraseDialog  exec:/path/to/passphrase-file


where the passphrase file contains something like:
Code:

Code:
#!/bin/sh
echo "passphrase"


or you cans remove the password phrase from the key

like
Code:

openssl rsa -in www.website.com.key -out www.website.com.key.nopass
Back to top


Reply to topic   Topic: Init: Pass phrase incorrect for key View previous topic :: View next topic
Post new topic   Forum Index -> Apache