Articles in this section
Category / Section

How to generate a self signed SSL certificate for Public IP address

Published:

This section provides instructions on creating a self-signed SSL certificate for a public IP address.

  • Download the suitable OpenSSL package by using the following link.

  • Unzip the OpenSSL zip file on your machine.

    1.png

  • Download the following file on your local machine and open PowerShell from this location.

  • Add your public IP in the above file like below.

    2.png

  • Run the following command to create the cert and key file.

    openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout cert.key -out cert.crt -config .\<yourfilename>.conf -extensions v3_req
    
  • Run the following command to generate the .pfx file and enter the password for the .pfx file.

    openssl pkcs12 -export -out certificate.pfx -inkey cert.key -in .\cert.crt
    
  • Now the cert, key, and pfx files are created in that location like below.

    3.png

  • Enable SSL for Bold BI with the created .pfx file by following the link .

  • Now you can access the site, the site will return the error like below.

    4.png

  • Now you can export the certificate for the site.

    5.png

  • Import the exported certificate to the trusted root authority on your machine, Go to Manage user certificate.

    9999999999999999.png

  • Select Trusted Root Certification Authorities, right click, and select Import to open the Certificate Import Wizard.

  • Click Next and browse to find the root certificate you exported before, then click to accept the default values on each screen.

  • Click Finish to complete the wizard.

  • Now you can access Bold BI with https://
    6.png

Additional Reference:

How to host Angular with ASP.NET Core application in IIS?

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
RC
Written by Ranjithkumar Chinnadurai
Updated
Comments (0)
Please  to leave a comment
Access denied
Access denied