OpenSSL Certificate (Version 3) with Subject Alternative Name

后端 未结 9 1871

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 03:48

    What command did you use to make the CSR certificate request? What command did you use to make the certificate file? Different answers for different circumstances you know.

    Maybe you are not putting

    subjectAltName=email:copy

    in the section

    [v3_req]

    Maybe you are using openssl x509 to generate the certificate, if so you must use

    -extfile /etc/pki/tls/openssl.cnf

    because without that it doesnt use your config file

    You also might need

    -extensions v3_req

    command line switch

提交回复
热议问题