test: update the test cert to expire in 100y
When generating the original test certs no `-days` paramter was passed which resulted in a too low `notAfter` value. This commit fixes this and uses 100y also updates the README: ``` $ openssl x509 -enddate -noout -in test/data/certs/cert1.pem notAfter=Aug 2 10:42:40 2124 GMT $ openssl x509 -enddate -noout -in test/data/certs/cert2.pem notAfter=Aug 2 10:42:45 2124 GMT ``` This fixes a test failure in https://github.com/osbuild/osbuild/pull/1819 for the `test_curl_download_many_mixed_certs` test.
This commit is contained in:
parent
3b77eb3625
commit
f0f9d8677a
5 changed files with 89 additions and 88 deletions
|
|
@ -6,5 +6,6 @@ Generated via:
|
|||
```
|
||||
$ openssl req -new -newkey rsa:2048 -nodes -x509 \
|
||||
-subj "/C=DE/ST=Berlin/L=Berlin/O=Org/CN=localhost" \
|
||||
-days 36500 \
|
||||
-keyout "key1.pem" -out "cert1.pem"
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue