Unable to load CA private key

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vinayak
    Junior Member
    • Jun 2024
    • 1

    Unable to load CA private key

    Facing following error when trying to regenerate OpenVPN keys:

    sh-4.2$
    sudo openssl ca -gencrl -keyfile pki/private/ca.key -cert pki/ca.crt -out pki/crl1.pem
    Using configuration from /etc/pki/tls/openssl.cnf
    Error opening CA private key pki/private/ca.key
    140437765986208:error:02001002:system library:fopen:No such file or directory:bss_file.c:402:fopen('pki/private/ca.key','r')
    140437765986208:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:404:
    unable to load CA private key
  • PetervdM
    Junior Member
    • Mar 2024
    • 9

    #2
    you might try the full path, so /path/to/pki/private/ca.key instead of pki/private/ca.key for both file names

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎