For more information about the online certificate status protocol ocsp and the benefits of ocsp stapling, see enable ocsp stapling on your server windows. Instructions for enabling ocsp stapling on your windows server. To save you the trouble of looking this up, the following sections contain instructions on how to enable ocsp stapling in your apache and nginx environments. Installing ssl godaddy on nginx sikandar khan medium. The ocsp stapling cache is perprocess, and nginx doesnt initiate an ocsp request until it receives the first ssl connection to a site. After a few days of tearing my hair out, it appears nginx does not prime its ocsp cache for a site for the very first visitor. Lets encrypt for example also provides a lightweight chain file for ocsp stapling nginx e. Letsencrypt handling ocsp stapling cache on nginx discussion.
How to configure ocsp stapling in apache and nginx. Use this if your ssl web server like nginx is behind a firewall and has to use a proxy to reach ocsp servers in order to implement ocsp stapling dlecorfecocsp proxy. For the ocsp stapling to work, the certificate of the server certificate issuer should be known. Before going ahead with the configuration, a short brief on how certificate revocation works. However, nginx doesnt wait for the ocsp response to complete before servicing the connection, so the first connection never gets a stapled response. Before you can enable ocsp stapling on your nginx server, the intermediate certificate must be properly installed.
To enable ocsp stapling in your apache server, please add the following lines in your servers configuration file. If ocsp stapling is not enabled, you will not see any ocsp response data, and you now need to see if the intermediate certificate is properly installed check that the intermediate certificate is properly installed. This is not available in the current ubuntu lts releases 12. Knowledgebase powered by kayako help desk software. I would like to enable ocsp stapling in my nginx server.
394 365 322 1433 165 1339 495 1155 302 1515 108 256 252 1027 1154 1525 178 308 937 1002 938 280 158 519 615 1153 355 742 896 855 466 239 525 360 1321