nextcloud/tests/data/certificates
Joas Schilling 1699cb70f0
ci: Update testing certificates that expired after 10 years
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-25 13:34:17 +02:00
..
badCertificate.crt ci: Update testing certificates that expired after 10 years 2025-08-25 13:34:17 +02:00
expiredCertificate.crt Add unit tests and fix rootcerts creation bug 2014-08-31 10:47:50 +02:00
goodCertificate.crt ci: Update testing certificates that expired after 10 years 2025-08-25 13:34:17 +02:00
openSslTrustedCertificate.crt fix: gracefully parse non-standard trusted certificates 2024-09-30 09:11:42 +02:00
Readme.md ci: Update testing certificates that expired after 10 years 2025-08-25 13:34:17 +02:00

Recreating certificates

Regenerate a new certificate key together with the good (Nextcloud Security) and bad (default Org name) certificates

Good Certificate

openssl req \
  -newkey rsa:2048 \
  -nodes \
  -keyout security.nextcloud.com.key \
  -x509 \
  -days 3650 \
  -out goodCertificate.crt
  • Country Name: DE
  • State or Province Name:Berlin
  • Organization Name:Nextcloud Security
  • Common Name: security.nextcloud.com

Bad Certificate

openssl req \
  -key security.nextcloud.com.key \
  -new \
  -x509 \
  -days 3650 \
  -out badCertificate.crt
  • Country Name: DE
  • State or Province Name:Berlin