mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
There seems to be an issue with the default configuration, files are missing and we depend on them for the tests to run.
8 lines
280 B
Bash
Executable file
8 lines
280 B
Bash
Executable file
# Prepare required files
|
|
touch index.txt
|
|
echo 1000 > serial
|
|
echo 1000 > crlnumber
|
|
|
|
# Generate Root CA.
|
|
openssl genrsa -aes256 -out private/ca.key.pem 4096
|
|
openssl req -config openssl.cnf -new -x509 -days 365 -key private/ca.key.pem -sha256 -extensions v3_ca -out certs/ca.crt.pem
|