PDA

View Full Version : Lion Server webservice




leond
Aug 2, 2011, 04:13 AM
Hi, this is my first post in this forum. First of all, sorry for my bad englisch, iīm from germany! ;)

And now my problem: the webservice on my lion server does not work.
After the installation it worked, after that i wanted to enable SSL, so i set a self-generated root certificate for the webservice.

And now i get this errors in the apache error_log:

[error] SSL Library Error: 218734605 error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib
[Tue Aug 02 11:07:24 2011] [error] Init: Pass phrase incorrect
[Tue Aug 02 11:07:24 2011] [error] SSL Library Error: 218710120 error:0D094068:asn1 encoding routines:d2i_ASN1_SET:bad tag
[Tue Aug 02 11:07:24 2011] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Tue Aug 02 11:07:24 2011] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1

If i remove the certificate from the webservice, it also doesnīt work.

I think itīs a little bit strange, because with certificate the webservice called a HTTP site, without certificate a HTTPS site.

Can anyone explain this?



Mattie Num Nums
Aug 2, 2011, 10:35 AM
Hi, this is my first post in this forum. First of all, sorry for my bad englisch, iīm from germany! ;)

And now my problem: the webservice on my lion server does not work.
After the installation it worked, after that i wanted to enable SSL, so i set a self-generated root certificate for the webservice.

And now i get this errors in the apache error_log:

[error] SSL Library Error: 218734605 error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib
[Tue Aug 02 11:07:24 2011] [error] Init: Pass phrase incorrect
[Tue Aug 02 11:07:24 2011] [error] SSL Library Error: 218710120 error:0D094068:asn1 encoding routines:d2i_ASN1_SET:bad tag
[Tue Aug 02 11:07:24 2011] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Tue Aug 02 11:07:24 2011] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1

If i remove the certificate from the webservice, it also doesnīt work.

I think itīs a little bit strange, because with certificate the webservice called a HTTP site, without certificate a HTTPS site.

Can anyone explain this?

How was the pass key generated? The first error is saying the Pass Phrase is incorrect. When it was imported was it imported with a password? ASN1_CHECK_TLEN:wrong tag usually refers to the CSR and CRT being defined wrong.

https://discussions.apple.com/message/12447818?messageID=12447818&amp%3b#12447818

Try this thread. I've used this as a reference in the past.