Home Forums OS X Server and Client Discussion Web SSL error: ans1 encoding

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #356471
    Anonymous
    Participant

    I have been trying to enable SSL. I followed the instructions in the server admind guide and read through your article. To me, everything seems to be in the right spot, but each time I restart the server I get the following error:

    [Fri Sep 26 16:58:56 2003] [error] mod_ssl: Init: Unable to read server certificate from file /private/etc/httpd/ssl.crt/server.crt102 (OpenSSL library error follows)
    [Fri Sep 26 16:58:56 2003] [error] OpenSSL: error:0D09F007:asn1 encoding routines:d2i_X509:expecting an asn1 sequence

    What does this error mean?

    #356491
    Anonymous
    Participant

    Thank you for your response. Here is where I am at.

    I had the certificate verified and I am told it is fine.

    I was told to be sure to paste in the lines with

    —–BEGIN CERTIFICATE REQUEST—–

    and

    —–END CERTIFICATE REQUEST—–

    as well as all data in between. I checked the contents of server.key and server.crt and they seem correct.

    Then I was wondering about the permissions causing an “unable to read error”. Do these permissions seem correct?

    -rw-r–r– 1 root wheel 777 Sep 29 13:47 server.crt
    -rwx—— 1 root wheel 777 Sep 29 13:49 server.crt102
    -rw-r–r– 1 root wheel 1109 Sep 26 17:04 server.crt102.save

    and

    -rw-r–r– 1 root wheel 958 Sep 26 11:57 server.key
    -rwx—— 1 root wheel 958 Sep 29 13:33 server.key102

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed