You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "King Holger (CI/AFP2)" <Ho...@de.bosch.com> on 2010/12/16 14:19:55 UTC

[users@httpd] Apache2 | mod_ssl

Hi Apache2 community,

when enabling SSL for Apache2 we get an error during startup telling us, the private key could not be found:
[Tue Nov 23 20:04:53 2010] [error] Init: Private key not found
[Tue Nov 23 20:04:53 2010] [error] SSL Library Error: 218710120 error:0D094068:asn1 encoding routines:d2i_ASN1_SET:bad tag
[Tue Nov 23 20:04:53 2010] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Tue Nov 23 20:04:53 2010] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Tue Nov 23 20:04:53 2010] [error] SSL Library Error: 218734605 error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib

Our questions:
- is the private key the wrong one?
- is there an encoding problem?
- might there be a password encryption activated in the SSL private key? How to remove it from the key?

Mit freundlichen Grüßen / Best regards,
Holger King

Robert Bosch GmbH
inside.WCMS  (CI/AFP2)
Postfach 30 02 20
70442 Stuttgart
GERMANY
www.bosch.com<http://www.bosch.com>

Tel. 0711/811-59112
Holger.King@de.bosch.com<ma...@de.bosch.com>

Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, Siegfried Dais;
Bernd Bohr, Rudolf Colm, Volkmar Denner, Wolfgang Malchow, Peter Marks,
Peter Tyroller; Stefan Asenkerschbaumer, Uwe Raschke, Wolf-Henning Scheider


Re: [users@httpd] Apache2 | mod_ssl

Posted by Joost de Heer <jo...@sanguis.xs4all.nl>.
On Thu, December 16, 2010 14:19, King Holger (CI/AFP2) wrote:
> Hi Apache2 community,
>
> when enabling SSL for Apache2 we get an error during startup telling us,
> the private key could not be found:
> [Tue Nov 23 20:04:53 2010] [error] Init: Private key not found
> [Tue Nov 23 20:04:53 2010] [error] SSL Library Error: 218710120
> error:0D094068:asn1 encoding routines:d2i_ASN1_SET:bad tag
[...]

> Our questions:
> - is the private key the wrong one?
> - is there an encoding problem?
> - might there be a password encryption activated in the SSL private key?

This is probably the problem.

> How to remove it from the key?

Removing the password is a FAQ entry:
http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#removepassphrase

Joost

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org