The creation of a CSR for a public IP address for use with DV and OV certificates is covered in this article.
Follow the steps:
- Create a request configuration file first that looks something like this:
[req]
default_bits = 4096
default_md = sha256
distinguished_name = req_distinguished_name
x509_extensions = v3_req
prompt = no
[req_distinguished_name]
C = $YourCountry
ST = $YourState
L = $YourCity
O = $YourCompany
OU = $YourDivision
CN = $YourPublicIP
[v3_req]
keyUsage = keyEncipherment, dataEncipherment
extendedKeyUsage = serverAuth
subjectAltName = @alt_names
[alt_names]
IP.1 = $YourPublicIP
Substituting your relevant information for the $variables above. - Next, create the certificate’s private key and CSR:
openssl req -new -newkey rsa:2048 -nodes -keyout private.key -out csr.csr -config /path/to/req/file/from/above - Once finished, the file “csr.csr” will contain a valid Certificate Signing Request.
That’s it! Wasn’t it useful to you? If you have any queries you can contact our support experts.