Hi
TinCanTech wrote
And what does the manual say for your device ?
Nothing useful.
Below is my config file.
HOME = .
RANDFILE = /var/tmp/.rnd
oid_section = new_oids
[ new_oids ]
[ ca ]
default_ca = IPCop
[ IPCop ]
dir = /var/ipcop
certs = $dir/certs
crl_dir = $dir/crls
database = $dir/certs/index.txt
new_certs_dir = $dir/certs
certificate = $dir/ca/cacert.pem
serial = $dir/certs/serial
crl = $dir/crls/cacrl.pem
private_key = $dir/private/cakey.pem
RANDFILE = $dir/tmp/.rand
x509_extensions = usr_cert
default_days = 999999
default_crl_days= 30
default_md = sha256
preserve = no
policy = policy_match
email_in_dn = no
...
[ req ]
default_bits = 2048
default_keyfile = privkey.pem
distinguished_name = req_distinguished_name
attributes = req_attributes
x509_extensions = v3_ca
string_mask = nombstr
...
[ usr_cert ]
basicConstraints=CA:FALSE
nsComment = "OpenSSL Generated Certificate"
subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid,issuer:always
[ server ]
basicConstraints=CA:FALSE
nsCertType = server
nsComment = "OpenSSL Generated Server Certificate"
subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid,issuer:always
[ v3_req ]
basicConstraints = CA:FALSE
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
[ v3_ca ]
subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid:always,issuer:always
basicConstraints = CA:true
[ crl_ext ]
authorityKeyIdentifier=keyid:always,issuer:always
[ engine ]
default = openssl
I have never changed the config file settings directly.
I think I need to run the command:
openssl ca -config /etc/ssl/openssl.cnf -gencrl -out /var/ipcop/crls/cacrl.pem
I think this is the command to overwrite the existing CRL file.