How to Create a CSR for a Public IP Address

December 13, 2022 / How-to Guide

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:

  1. Create a request configuration file first that looks something like this:
    default_bits = 4096
    default_md = sha256
    distinguished_name = req_distinguished_name
    x509_extensions = v3_req
    prompt = no
    C = $YourCountry
    ST = $YourState
    L = $YourCity
    O = $YourCompany
    OU = $YourDivision
    CN = $YourPublicIP
    keyUsage = keyEncipherment, dataEncipherment
    extendedKeyUsage = serverAuth
    subjectAltName = @alt_names
    IP.1 = $YourPublicIP
    Substituting your relevant information for the $variables above.
  2. 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
  3. 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.

Spread the love
Dominos Search