Creating a Certificate Signing Request (csr)
Procedure to register a certificate.
- You need a valid configuration file such as the following
one:
[ req ] default_bits = 4096 default_keyfile = keyfile.pem distinguished_name = req_distinguished_name attributes = req_attributes prompt = no output_password = bigfix [ req_distinguished_name ] C = US ST = California L = Emeryville O = BigFix OU = Development CN = Common emailAddress = admin@bigfix.com [ req_attributes ] challengePassword = bigfix
- Replace
Common
with the fully qualified domain name of the Web Reports server. - Create the certificate request
cert.csr
with the following command.
This also generates the private key calledopenssl req -new -config "c:\mynewconfig.conf" > cert.csr
keyfile.pem
. - Remove the password from the private key file
keyfile.pem
and generate a new private key (nopwdkey.pem
) using the following command:openssl rsa -in keyfile.pem -out nopwdkey.pem