Welcome! Log In Create A New Profile


Set up SSL on Ubuntu

Posted by jcyprich 
Set up SSL on Ubuntu
August 11, 2020 01:25PM
I'm having difficult setting up SSL on nginx running on Ubuntu. I have a .pfx, .crt, and .pem cert files to work with, but the documentation is for setting it up with .crt and .key files. The code example is:

server {
listen 80;
listen 443 ssl;
server_name www.example.com;
ssl_certificate www.example.com.crt;
ssl_certificate_key www.example.com.key;
I've tried to convert the files I have to these formats, but nothing works. Is there a way to use .crt or .pem with nginx without converting it to something else?

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready