Passing CSR distinguished-name fields as parameters to OpenSSL

Pass the subject via the “-subj” argument: openssl req -new -key <private key file> -out <CSR output file> -subj “/C=<Country Name>/ST=<State>/L=<Locality Name>/O=<Organization Name>/CN=<Common Name>” Note that if you want to have OpenSSL build the subject string for you, you can create the CSR as you normally would, and then execute the command to self-sign it. … Read more

Creating an x509 v3 user certificate by signing CSR

You need to specify an extensions file. For example: openssl x509 -days 365 -in myCSR.csr -extfile v3.ext -CA myCA.crt -CAkey myCA.key -CAcreateserial -out userCertificate.crt The extensions file (v3.ext) can look like this: authorityKeyIdentifier=keyid,issuer basicConstraints=CA:FALSE keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment

What RSA key length should I use for my SSL certificates?

As of 2020, RSA keys should be 2048 bits. 1024 bits 1024 bits RSA certificates are obsolete and not accepted by browsers. Firefox stopped accepting 1024 bits RSA certificates in 2014. Certificate authorities stopped delivering 1024 bits RSA certificates in 2014 or before. See GlobalSign or Comodo notice. 1024 bits keys were deprecated because they … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)