Home Forums OS X Server and Client Discussion Questions and Answers I can’t create Self-Signed SSL Certificate in 10.3.4 Server

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #358200
    dvsmith
    Participant

    Alright, I’m following the instructions from: [url]https://www.afp548.com/Articles/Panther/sslinfo.html[/url]

    Everything goes smoothly until I try to sign the certificate using my CA with this command:[code:1:50e8d95f27]openssl ca -policy policy_anything -in server.csr -out server.crt[/code:1:50e8d95f27]

    What results is:
    [code:1:50e8d95f27]Using configuration from /System/Library/OpenSSL/openssl.cnf
    Enter pass phrase for ./demoCA/private/cakey.pem:
    Error opening CA certificate ./demoCA/cacert.pem
    4363:error:02001002:system library:fopen:No such file or directory:bss_file.c:259:fopen(’./demoCA/cacert.pem’,’r’)
    4363:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:261:
    unable to load certificate[/code:1:50e8d95f27]

    I have no idea what that means… am I doing something wrong? The password is exactly as I entered it for the CA… (I am logged in as [i:50e8d95f27]root[/i:50e8d95f27] to perform this task.)

    contents of [i:50e8d95f27]/etc/certs/[/i:50e8d95f27]:[code:1:50e8d95f27]webcube:/etc/certs root# ls
    ca.crt ca.key demoCA server.csr server.key

    webcube:/etc/certs root# ls demoCA/
    index.txt newcerts private serial[/code:1:50e8d95f27]

    #358202
    dvsmith
    Participant

    Nevermind — I accidentally put the requested file in the ‘private’ directory

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

Comments are closed