Home › Forums › OS X Server and Client Discussion › Web › SSL Problems. . .
- This topic has 28 replies, 9 voices, and was last updated 19 years, 11 months ago by
mrogerson.
-
AuthorPosts
-
February 23, 2004 at 10:46 pm #357460
RobotDeathSquad
ParticipantI’m trying to install an SSL cert from the command line. I believe I have it installed correct, but I get the following error and all connections made over HTTPS are recjected.
Heres’ the error:
error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long
I’ve checked the key and the crt in both pico and vim to make sure there were not incorrect characters, and I didn’t see any. I see lots of people on the net have this problem but I see no fixes.
Any help anyone?
February 26, 2004 at 8:44 pm #357516RobotDeathSquad
ParticipantI removed the passphrase, but I’m still getting connection refused when I try to load the secure site.
I’m using Panther Client as my OS so I don’t use the apple tools. Can someone post a sample of their apache configs that the apple tools create (relevant parts only ).
Thanks
March 8, 2004 at 3:44 pm #357573Anonymous
ParticipantI’d like to add my voice to this problem as I get the same thing in addition to an invalid pass phrase error.
I tried to use MacTroll’s article (https://www.afp548.com/articles/panther/sslinfo.html) to set up SSL on my panther server. BTW, Thanks Mactroll, for going to the trouble.
I am reasonably confident I followed the steps (several times) but I keep getting an Invalid pass phrase error when I enable SSL and start the service. The only thing I can think of is the common name. I made it the fully qualified name required for DNS resolution although I am a little fuzzy on what ‘common name’ means. If anyone can point me in the right direction I would appreciate it.
P.S. One thing I noticed is that after answering the question about committing the signature it updated the data base but I get a message that says “unable to write ‘random state'”. If this means the commit actually failed and is the crux of my problem how do I correct that?
Thanks.
March 9, 2004 at 12:19 pm #357584Anonymous
ParticipantAlthough it wasn’t fun, that did get rid of the random state error. However, I still get and invalid pass phrase error and httpd won’t start.
Is there a way with an openssl command to verify the server.crt passphrase?
March 10, 2004 at 2:03 pm #357592Anonymous
ParticipantThis is very frustrating 👿
I cannot get this to work and no matter what I try it is the same error, “Pass phrase incorrect.” There must be something very basic that I am missing that is assumed rather then explained by MacTroll’s article.
Getting desperate here. TIA.
March 13, 2004 at 3:48 pm #357598rcwallis
ParticipantThis is very frustrating.
I have followed the steps in the article, and tried to install purchased certificates, with the same errors each time, listed below:
[Sat Mar 13 10:39:47 2004] [error] mod_ssl: Init: Pass phrase incorrect (OpenSSL library error follows)
[Sat Mar 13 10:39:47 2004] [error] OpenSSL: error:0D07207B:asn1 encoding routines:ASN1_get_object:header too longI know my passphrase is correct, I have redone the whole process at least 5 times…
I hope someone can give me a hand here, I am all out of ideas!Thanks,
Bob
March 15, 2004 at 2:21 pm #357600Anonymous
ParticipantAt least you are not alone. 🙂 Unfortunately, so far no one has been able to provide much assistance. I have this question on a couple of different forums but this seems to have everyone stumped. I guess there is just no decent debugging capability available that might give us some kind of direction.
April 28, 2004 at 12:49 am #357892Hypnotoad
ParticipantI will add my voice to this unhappy chorus. I found apf548.com via the Apple OS X Server and macosxhints.com discussion groups, and I can report that I am having exactly the same problem. I worked through the tutorial three times, and used a very, very simple passphrase (1234) that I verified was correct in the servermgr_web_httpd_config.plist file… and the damn thing still insists that I have entered an incorrect passphrase.
Removing the passphrase works, but that sucks–it’s a security hole. grr.
May 3, 2004 at 10:19 am #357928Hypnotoad
ParticipantWith the the help of an apple.com discussion BBS member, I finally traced the problem to Apple’s getsslpassphrase utility… it was somehow munging the passphrase entered in the Server Admin control panel. I finally had to do this in httpd.conf:
<IfModule mod_ssl.c> SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown # Comment out Apple's buggy getsslpassphrase utility: # SSLPassPhraseDialog exec:/etc/httpd/getsslpassphrase # This will require starting the server manually (sudo apachectl start): SSLPassPhraseDialog builtinThis works, but from now on I will have to edit the *.conf files and start httpd manually, which sucks… what’s the point in buying $500 OS X Server if you have to drop down to the Terminal and a text editor to maintain everything anyway?! grr.
May 17, 2004 at 5:51 pm #358040Anonymous
ParticipantThanks for the tip but I am still unable to get this working. Now I get an error saying it cannot find the private key. This is so frustrating. Why is this rocket science?
Helllllppppppp!!!!!!!!!!! 😥
May 19, 2004 at 2:27 pm #358050Anonymous
ParticipantOops! 😳 I just realized I need to start Apache manually so please diregard the above error. The rest of the rant is valid. The error I am now getting is:
Call to undefined routine after a NSUnLinkModule with the NSUNLINKMODULE_OPTION_RESET_LAZY_REFERENCES option
May 19, 2004 at 3:12 pm #358051iztech
Participantfollow this example.
it works very well and is easy to set-up.
i used a qualityssl.com cert and everything is good.<http://www.entropy.ch:16080/software/macosx/docs/mod_ssl.html>
there are instruction for options on creating a self cert and a purchased cert.
May 19, 2004 at 3:58 pm #358055Anonymous
ParticipantThanks but you are a few steps behind where I am. I have the certs. The issue seems to be Apache and Apple’s specific implementation of it for SSL. There is a plethora of posts on this and they all seem to point to Apache, not the creation of certs. We already know there is a bug in Apple’s pass phrase dialog interface through the GUI so I am at the next layer of the onion.
May 19, 2004 at 5:45 pm #358056iztech
Participantthat guide is not just on creating a cert. it’s on the implementation of ssl.
i have it all running.the key is to not use the optional passphrase.
May 19, 2004 at 5:58 pm #358057Anonymous
ParticipantI know. I read through it and there is really nothing different from the article by MacTroll (who also said to leave the optional pass phrase out) but I’ll run through it yet again (10 times at least). What do I have to lose? 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.