nextcloud-server/tests/data/certificates
Joas Schilling 894fda1a4d
ci: Update testing certificates that expired after 10 years
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-25 12:15:57 +07:00
..
Readme.md ci: Update testing certificates that expired after 10 years 2025-08-25 12:15:57 +07:00
badCertificate.crt ci: Update testing certificates that expired after 10 years 2025-08-25 12:15:57 +07:00
expiredCertificate.crt
goodCertificate.crt ci: Update testing certificates that expired after 10 years 2025-08-25 12:15:57 +07:00
openSslTrustedCertificate.crt

Readme.md

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