OpenSSL Certificate (Version 3) with Subject Alternative Name

后端 未结 9 2102

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:07

    #! /bin/dash
    
    #  Steps 1-3 show how to use openssl to create a certificate request
    #  that includes Subject Alternative Names.
    
    #  In the uncommon case where you are creating your own CA, steps 4-6
    #  show how to use openssl to create a CA and then use that CA to
    #  create a certificate from the request.
    
    #  Step 1:  Create an OpenSSL configuration file
    #    to specify the Subject Alternative Names
    
    echo  ;  echo  'step  1'
    cat  >  foo.cnf  <

提交回复
热议问题