Generating CSR in linux

Create a Certificate Signing Request (CSR) in linux.

[root@localhost ~]# openssl genrsa -out /tmp/barklanepets-csr.pem 2048 [root@localhost ~]# openssl req -new -sha256 -key /tmp/barklanepets-csr.pem -out /tmp/barklanepets-csr.pem Country Name (2 letter code) [XX]:BH State or Province Name (full name) []:MANAMA Locality Name (eg, city) [Default City]:MANAMA Organization Name (eg, company) [Default Company Ltd]:BARKLANE PETS Organizational Unit Name (eg, section) []:IT Common Name (eg, your name or your server’s hostname) []:bws.barklanepets.com Email Address []:it@shippingbahrain.com

Please enter the following ’extra’ attributes to be sent with your certificate request A challenge password []: from ssl document An optional company name []:BARKLANE PETS