nodejs-certificate-auth icon indicating copy to clipboard operation
nodejs-certificate-auth copied to clipboard

SHA1 for certificate does not accept

Open cuongrep opened this issue 1 year ago • 0 comments

We got a problem because the signed certificate for client using SHA 1. Please replace

openssl x509 \
	-req \
	-in client/alice_csr.pem \
	-CA server/server_cert.pem \
	-CAkey server/server_key.pem \
	-out client/alice_cert.pem \
	-set_serial 01 \
	-days 365

by

openssl x509 \
	-sha256 \
	-req \
	-in client/alice_csr.pem \
	-CA server/server_cert.pem \
	-CAkey server/server_key.pem \
	-out client/alice_cert.pem \
	-set_serial 01 \
	-days 365

cuongrep avatar May 01 '23 02:05 cuongrep