For the ocsp stapling to work, the certificate of the server certificate issuer should be known. Read one of the following links for more information on ocsp and ocsp stapling. How to configure ocsp stapling on apache and nginx. For more information about the online certificate status protocol ocsp and the benefits of ocsp stapling, see enable ocsp stapling on your server windows. Ocsp stapling provides added security by reducing the number of attack vectors. Installing ssl godaddy on nginx sikandar khan medium. Instructions for enabling ocsp stapling on your windows server. I would like to enable ocsp stapling in my nginx 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. The ocsp stapling cache is perprocess, and nginx doesnt initiate an ocsp request until it receives the first ssl connection to a site. Lets encrypt for example also provides a lightweight chain file for ocsp stapling nginx e. 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. 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. However, nginx doesnt wait for the ocsp response to complete before servicing the connection, so the first connection never gets a stapled response. Before going ahead with the configuration, a short brief on how certificate revocation works. 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. Knowledgebase powered by kayako help desk software.
800 1398 402 125 1488 668 212 244 1128 498 569 1515 1194 1067 75 77 849 1258 871 745 785 939 1089 1127 405 1629 1158 120 1628 188 1009 313 37 403 883 56 1247 1320 560 179 62 1203 477