Enabling SSL on Private instance

Hi,

are there any instructions to setup SSL on the Private instance? Basically i want to add SSL(https) for my webpagetest server. Is is a simple config change with certificate installation? . Also does the current agents support ssl authentication with webpagetest server ?

Thanks
Saikumar

I’m using HTTPS on my private WebPageTest instance. There was a problem with older EC2 test agent images, but current ones should be ok.

Hi,

do you have steps to follow for enabling https ? i am taking care of certificate creation and installation. i am look for list of changes in code/agents config

Thanks
Saikumar

I came across this thread when searching for an answer to the same question. It looks like [font=Courier]/var/www/webpagetest/www/nginx.conf[/font] is port agnostic. I was able to follow the basic guidelines here to enable SSL simply by editing [font=Courier]/etc/nginx/sites-available/default[/font]. See section A single HTTP/HTTPS server.

Here’s an example:

server {
    server_name myservername.org;
    listen 80 default_server;
    listen 443 ssl default_server;
    listen [::]:80 default_server ipv6only=on;
    listen [::]:443 default_server ssl ipv6only=on;
    ssl_certificate /path/to/myservername.org.crt;
    ssl_certificate_key /path/to/myservername.org.key;

Remember if you’re following one of the many tutorials for this online, they will only talk about opening port 80 at AWS level.

If you’re going HTTPS you’ll need to open port 443. That one just caught me out.