Monday, June 4, 2012

Creating SSL Key and CSR


Openssl should be installed on your machine (Tested on Redhat machines)
  • openssl genrsa -out www.example.com.key 2048 (This way create a ssl key)
  • openssl req -new -key www.example.com.key -out  www.example.com.csr (This command will create a CSR file were you have to enter details regarding your website)
 (This will Generate a www.example.com.csr file so next job is to submit your CSR to certificate authority, you can paste the details or upload directly to a Cert Authority website )

No comments:

curl and cacert

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