diff --git a/README.md b/README.md index 189d41793..d4a4e0ee6 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,35 @@ For Apache, registry admin goes to port 443 in production, /etc/apache2/sites-en ``` +For Apache, REPP goes to port 443 in production, /etc/apache2/sites-enabled/repp.conf short example: +``` + + ServerName your-repp-domain + SSLEngine on + #SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL + SSLCertificateFile /etc/apache2/ssl/apache.crt + SSLCertificateKeyFile /etc/apache2/ssl/apache.key + + ProxyPass / http://localhost:8080/ + ProxyPassReverse / http://localhost:8080/ + ProxyPreserveHost on + RequestHeader set X_FORWARDED_PROTO 'https' + + SSLVerifyClient none + SSLVerifyDepth 1 + SSLCACertificateFile /home/registry/registry/shared/ca/certs/ca.crt.pem + SSLCARevocationFile /home/registry/registry/shared/ca/crl/crl.pem + SSLCARevocationCheck chain + + RequestHeader set SSL_CLIENT_S_DN_CN "" + + + SSLVerifyClient require + RequestHeader set SSL_CLIENT_S_DN_CN "%{SSL_CLIENT_S_DN_CN}s" + + +``` + For Apache, epp goes to port 700. Be sure to update paths to match your system configuration. /etc/apache2/sites-enabled/epp.conf short example: