Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Issues Adding SSL Certificate & Couple of Questions

$
0
0
OK, so I downloaded, extracted, and took a look at the conf file. I copied every line which had "ssl" in it, pasted it into my conf file, then made the following changes:
- Removed "spdy" from listening line
- Changed path+file name for .crt & .key

I saved and tried again, but am still getting the exact same error!

After my initial post, i tried a few more things. Using the installed OpenSSL x32, I verified that the crt and key were good. I also used OpenSSL to converty my crt to a pem file and tried using it in the conf file. However, I get the same error no matter what...

When I copy / paste the conf file, the spacing is a bit different. Does that matter? Below is a paste of my current conf file (at least the part I'm working with) and attached is a screenshot. Any more ideas? Thanks!!

#keepalive_timeout 0;
keepalive_timeout 65;
ssl_session_cache shared:SSL:10m;
#gzip on;

server {
listen 443 ssl;
server_name mydomain.com;
ssl_certificate C:\nginx-1.6.2\kelnet.crt;
ssl_certificate_key C:\nginx-1.6.2\myserver.key;
ssl_prefer_server_ciphers On;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!eNULL:!MD5:!DSS;


#charset koi8-r;

#access_log logs/host.access.log main;


Thanks again!

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>