This will create the a certificate authority (CA) and then create a cert for composer and another one for the worker. The worker one can also be used by the koji plugin. The configuration file is needed to get subjectAltName working.
17 lines
388 B
Text
17 lines
388 B
Text
[req]
|
|
distinguished_name = req_distinguished_name
|
|
req_extensions = v3_req
|
|
prompt = no
|
|
|
|
[req_distinguished_name]
|
|
CN = localhost
|
|
|
|
[v3_req]
|
|
keyUsage = critical,keyEncipherment, dataEncipherment, digitalSignature
|
|
extendedKeyUsage = critical,serverAuth,clientAuth,emailProtection
|
|
basicConstraints = critical,CA:FALSE
|
|
subjectAltName = @alt_names
|
|
|
|
[alt_names]
|
|
DNS.1 = localhost
|
|
DNS.2 = composer
|