Skip to content

Nginx Setup


First open:

certlm.msc

(Local Computer Certificates) and request a new certificate.


Ensure the AD Enrollment Policy is specified so it will be fulfilled by the CA.


  • Check SSL certificate
  • Click:
more information is required… click here to configure
  • Add:

    • CN
    • DNS record
  • Click OK on Certificate Properties

  • Click Enroll on the original menu


After the certificate is created:

  • Right-click → Export
  • Include the private key
  • Set a secure & memorable password

Take the generated .pfx file and convert it to .pem using OpenSSL:

Terminal window
openssl pkcs12 -in portweaver.pfx -out portweaver.pem -nodes

You will be prompted for the password set during export.


The generated:

portweaver.pem

must be moved to:

..\nginx\conf\certs\

After this is configured:

  1. Restart the server
  2. Launch Portweaver using:
launch.bat
  1. Open:
https://portweaver.domain.com
  1. Verify:
    • Certificate is allowed
    • Connection is secure