Skip to content

[Suggestion] Enable OCSP stapling for the certificate #1199

@Michal-Koeckeis-Fresel

Description

@Michal-Koeckeis-Fresel

What would you like to be added or improved?

Please add OCSP stapling if it is available in the certificate

OCSP stapling explained on:
https://en.wikipedia.org/wiki/OCSP_stapling

Why is it needed?

With OCSP stappling the client will receive the online version of the certificate revocation list (from the CA) during HTTPS handshake directly from the server.

This improves speed of handshake and security as the client will not look up the revocation information from the root CA but will use the provided OCSP information.

To test the certificate for OCSP use the following openssl command:
openssl x509 -in /path/to/CERTIFICATE.crt -noout -ocsp_uri

Add this to the conf file if OCSP is available:

    # OCSP Stapling ENABLED for better security
    ssl_stapling on;
    ssl_stapling_verify on;
    resolver 1.1.1.1 8.8.8.8 9.9.9.9 valid=300s;
    resolver_timeout 5s;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions