Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 173209

Summary: www-servers/nginx - create a self-signed certificate via ssl-cert eclass
Product: Gentoo Linux Reporter: Jeff Kowalczyk <jeff.kowalczyk>
Component: New packagesAssignee: Konstantin Arkhipov (RETIRED) <voxus>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://wiki.codemongers.com/NginxHttpSslModule
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeff Kowalczyk 2007-04-02 21:24:16 UTC
One of the reasons I'm trying nginx is because of an inscrutable apache SSL configuration problem. nginx seems to have a very simple SSL approach, and it would be very helpful if nginx could install a basic self-signed certificate 

I don't know much about the docert function yet, or whether the upstream package needs to provide its own specific .pem or .key for docert to be used.

http://wiki.codemongers.com/NginxHttpSslModule

worker_processes 1;
http {
    ...
    server {
        listen               443;
        ssl                  on;
        ssl_certificate      /usr/local/nginx/conf/cert.pem;
        ssl_certificate_key  /usr/local/nginx/conf/cert.key;
        keepalive_timeout    70;
    }
}



Reproducible: Always

Steps to Reproduce:
Comment 1 Konstantin Arkhipov (RETIRED) gentoo-dev 2007-04-21 14:54:03 UTC
implemented in 0.5.18-r1,
thank you for suggestion.