JFrog-Cloud-Installers icon indicating copy to clipboard operation
JFrog-Cloud-Installers copied to clipboard

[ansible/artifactory] Enable OCSP stapling support artifactory_nginx_ssl

Open PolaricEntropy opened this issue 2 years ago • 3 comments

Is this a request for help?:


Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST

Which installer: Ansible

Which product and version (eg: ansible & collection version - 7.24.2): Artifactory

Which operating system and version(eg: ubuntu & version - 20.4): All

Which product license (Enterprise/Pro): N/A

JFrog support reference (if already raised with support team):

What happened: Enable support to use OCSP Stapling in NGINX conf file (https://github.com/jfrog/JFrog-Cloud-Installers/blob/master/Ansible/ansible_collections/jfrog/platform/roles/artifactory_nginx_ssl/templates/artifactory.conf.j2)

This can be done by adding the following in the section with the other ssl parameters:

ssl_stapling on; ssl_stapling_verify on; ssl_trusted_certificate /etc/ssl/certs/artifactory-fullchain.crt;

For this to work you'll need to set ssl_trusted_certificate which contains the entire certificate chain.

What you expected to happen: Introduce a new variable to the playbook called ssl_certificate_fullchain. If this is set, then enable stapling as shown above. This will allow people that want stapling to set the ssl_certificate_fullchain variable.

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know:

PolaricEntropy avatar Dec 17 '23 13:12 PolaricEntropy

ssl_certificate is already used as the variable for the certificate (chain), so no need for ssl_trusted_certificate.

bbaassssiiee avatar Dec 21 '23 09:12 bbaassssiiee

This feature is implemented in PR 358

bbaassssiiee avatar Jan 24 '24 17:01 bbaassssiiee

JFrog R&D still looking at this repo?

bbaassssiiee avatar Mar 12 '24 14:03 bbaassssiiee

https://letsencrypt.org/2024/12/05/ending-ocsp/

bbaassssiiee avatar Jan 30 '25 12:01 bbaassssiiee

Yeah, OSCP is sadly dying. I'm closing this issue...

PolaricEntropy avatar Feb 15 '25 14:02 PolaricEntropy