Resolving Self-Signed Certificate Issues with Go's HTTPLIB Package
To create a self-signed certificate for testing, follow these OpenSSL commands:
# Generate private key
openssl genrsa -des3 -out private.key 2048
openssl rsa -in private.key -out private.key
# Create certificate authority
openssl req -new -x509 -key private.key -out rootCA.pem -days 3650
# Generate certificate signing request
openssl req -new ...
Posted on Mon, 24 Aug 2026 16:21:11 +0000 by corillo181