is it possible making openssl skipping the country/common name prompts?

后端 未结 5 1708
长情又很酷
长情又很酷 2021-01-31 13:05

Is there a way to make openssl skiping the prompts such as

Country Name (2 letter code) [US]:
Organization Name (eg, company) [My Company Name LTD.]:
Common Nam         


        
5条回答
  •  鱼传尺愫
    2021-01-31 13:55

    thanks to @indiv

    according to this guide -subj is the way to go, e.g.

    -subj '/CN=www.mydom.com/O=My Company Name LTD./C=US'
    

提交回复
热议问题