Need Help Installing SSL
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

Our developer completed project and left and soon after our SSL cert expired . We have hosted on AWS. We have uploaded the certificate..but the website still shows 502 gateway. Need someone to help configure the SSL so the website is up and running

Are u using a Linux or Windows server?
Codeword 1 month ago
Hi, your certificate is self-signed?
Martin78b 1 month ago
Before going too deep, try to clear your browser cache + cookies and reopen the site on your browser( or more appropriately in an another browser), this is because sometimes there may be a problem with your browser and therefore it may be showing 502 error.IF even after this error persist then we will be sure that the error is in your server end.
Codeword 1 month ago
Certificate is signed by RapidSSL. Clearing browser cache did not help. website is I think its running Linux. It was configured using EC2 instance on Amazon AWS
aasker 1 month ago
Hey can i have your Nginx virtual hosts file.
Codeword 1 month ago
1 month ago

Crowdsource coding tasks.

3 Solutions


just try to follow the point in the following website :

From what I see when I connect to your server, Chrome tells me that your current certificate is expired (expired on 10 septembre 2017 and signed by GlobalSign), I think it's the old one.

For the 502 error, it seems not to be a certiificate issue but a server one, to debug this you will need to check the error log on your server (file /var/log/httpd/error_log)

I think the new certificate is not configured properly. Because your website is still showing certificate expired error msg.

these steps might help -

1) After obtaining (downloading) a new set of certificate, do this in terminal.

$ cat intermediateCA.crt >> SSL_Certificate.crt

2) Move / Copy certificates to /etc/ssl/

3) Go to your Nginx config file, find and replace these lines to matching your certificate.

ssl_certificate /etc/ssl/[concatenated file];
ssl_certificate_key /etc/ssl/[private key file];

4) Adjust the file names to match your certificate files:

ssl_certificate should be your concatenated file created in Step 1.

ssl_certificate_key should be the key file generated when you created the CSR. (generally this remains the same)

5) Restart Nginx.

follow for more info.

You need to create a CSR (certificate signing request) that contains the server's information. (There are many, many guides on how to do this using openssl.) You then purchase a SSL certificate from your certificate issuer of choice and provide them with the CSR. When your order is complete they will issue you a SSL certificate that you can download and install in Apache. If you go to the issuer of the original certificate they will likely have a renew process that will walk you through all of the steps.

View Timeline