Commit c1a18dc
authored
Reduce expiration time of certificates (#1146)
Clients that rely on OSX APIs for certificate validation may find an error
with the message "certificate is not standards compliant" with certificates
that don't comply with Apple rules for certificate validation. When this error
happens, the actual reason for each certificate is not exposed, and it
seems to happen with certificates that should be valid in the context of
the validation.
More discussion about this can be found in golang/go#51991.
This happens with certificates generated by `elastic-package`, clients
sometimes report this error with configurations that otherwise should accept
these certificates.
According to this post, one of the rules is that certificates cannot be valid for
more than 825 days.
https://rahulkj.github.io/openssl,/certificates/2022/09/09/self-signed-certificates.html
Reduce the expiration time to try to reduce the chances of triggering this error.1 parent 083d4f1 commit c1a18dc
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| |||
0 commit comments