Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have set CRL file in nginx with ssl_crl directive:

ssl_crl /mypath/crl.pem

However, I noticed that adding or removing revoked certificates from crl.pem apply only when I restart or reload nginx server.

What is best practice for this? Reloading nginx configuration when crl.pem changes or something else?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Just reload nginx when you make any changes to the file. This will cause it to re-read the files without interrupting any existing connections or needing to restart. For example (RHEL/CentOS):

service nginx reload
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.