Article:
  Deploying a VPN with PKI
Subject:   OpenVPN..openssl s_client -CAfile \
Date:   2006-10-26 16:49:08
From:   peteythapitbull
I've followed evrything to the letter and now I'm trying to run the test. The s_server is working. But when I type the following I get an error message. I don't understand why?


# openssl s_client -CAfile \
> CA-DB/cacert.pem -cert client1cert.pem -key client1key.pem
unable to get certificate from 'client1cert.pem'
31297:error:02001002:system library:fopen:No such file or directory:/usr/src/lib/libssl/src/crypto/bio/bss_file.c:278:fopen('client1cert.pem','r')
31297:error:20074002:BIO routines:FILE_CTRL:system lib:/usr/src/lib/libssl/src/crypto/bio/bss_file.c:280:
31297:error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib:/usr/src/lib/libssl/src/ssl/ssl_rsa.c:515:



Thnx for any help or feed back

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • OpenVPN..openssl s_client -CAfile \
    2006-10-26 18:33:23  inyotech [View]

    I notice this in the above error message text:


    ... fopen:No such file or directory ... fopen('client1cert.pem','r')


    Maybe you can double check that the certificate file is in your current directory or use the full path on the command line?

    Hope this helps,

    Scott B