Sunday, June 3, 2012

Creating Multi Domain CSR

                                               


First step is to Create an  .snf file ,here we have to insert the below lines were based on your website
[ req ]

default_bits = 2048   #Encryption
prompt = no                  
encrypt_key = no      
default_md = sha1
distinguished_name = dn
req_extensions = v3_req
[ dn ]
C = IN
O = Company INC
OU = IT
CN = www.rakesh.com
L = Bangalore

[ v3_req ]
subjectAltName = DNS:test.rakesh.com,DNS:test1.rakesh.com (Your alias for the www.rakesh.com website)

After completing  test.snf file we can now start generating csr file from the below command.

openssl req -new -config /etc/ssl/test.snf -keyout www.rakesh.com.key -out www.rakesh.com.csr

No comments:

curl and cacert

curl -v --cacert cacert.pem https://www.example/cgi-bin/f ile.xgi -I -X POST