OpenSSL Certificate (Version 3) with Subject Alternative Name

后端 未结 9 1872

I\'m using the OpenSSL command line tool to generate a self signed certificate. It seems to be working correctly except for two issues. I can\'t get it to create a .cer with a S

9条回答
  •  后悔当初
    2021-01-31 04:09

    The v3_req is required with the entry subjectAltName in the config file. The command

    openssl x509 ... -extfile openssl.cnf -extensions v3_req
    

    will insert the SAN into the certificate.

提交回复
热议问题