sclorg / container-common-scripts

Apache License 2.0
20 stars 45 forks source link

Add ct_get_certificate_timestamp and ct_get_certificate_age_s functions #245

Closed hhorak closed 8 months ago

hhorak commented 2 years ago

These functions are expected to be used for checking whether a certificate was just generated during the container assembing (e.g age of the certificate is less than a minute).

The certificates generation on assembling the container with the application is important for not having the container images with certificates being part of the image.

hhorak commented 2 years ago

[test]

hhorak commented 2 years ago

[test]

hhorak commented 2 years ago

[test]

hhorak commented 2 years ago

[test]

hhorak commented 2 years ago

[test]

hhorak commented 2 years ago

[test]

pkubatrh commented 1 year ago

@hhorak Can you take a look at the comments?

hhorak commented 8 months ago

This PR is tested in https://github.com/sclorg/httpd-container/pull/140, so not intended to be merged before it's working in CI in that PR.

hhorak commented 8 months ago

[test]

hhorak commented 8 months ago

Rebased and https://github.com/sclorg/httpd-container/pull/140 testing it right now, let's see whether tests there are green.