Problem setting up ssl

Etienne Robillard tkadm30 at yandex.com
Tue Jul 18 00:15:18 UTC 2017


Hi Steve,

I fixed the issue by rolling my own crt file using Fabian method. :)

Cheers,

E


Le 2017-07-17 à 20:09, steve a écrit :
> Hi,
>
>
>
> On 18/07/17 11:38, Etienne Robillard wrote:
>>
>>
>> Le 2017-07-17 à 19:30, Fabian A. Santiago a écrit :
>>>
>>> You likely need to concatenate your cert and your ca's intermediate 
>>> root signing cert into one file and apply that as your nginx cert 
>>> with your private key as such. Then reload nginx.
>>>
>> Hi Fabian,
>>
>> Is this precisely whatsmychaincert.com is doing ?
>>
>> Here is the error msg from nginx when I attempt to use the generated 
>> cert from whatsmychaincert.com:
>>
>> nginx: [emerg] 
>> SSL_CTX_use_PrivateKey_file("/etc/nginx/ssl/ssl-cert-livestore.key") 
>> failed (SSL: error:0B080074:x509 certificate 
>> routines:X509_check_private_key:key values mismatch)
>> nginx: configuration file /etc/nginx/nginx.conf test failed
>>
> this means that your key ad cert files are not a pair. You need to 
> update both ( unless you use the same signing request both times - 
> which is not a good idea ).

-- 
Etienne Robillard
tkadm30 at yandex.com
http://www.isotopesoftware.ca/



More information about the nginx mailing list