Category Archives: Security

Security related posts.

Common openssl commands

# sha256 self signed certificate with new private key openssl req -newkey rsa:2048 -keyout server.key -nodes -sha256 -x509 -new -days 3650 -out server.crt -subj ‘/C=DE/ST=Berlin/L=Berlin/O=Organization Name/OU=Department/CN=www.domain.de’ # sha256 self signed certificate with existing private key openssl req -key server.key -sha256 -x509 -new -days 3650 -out server.crt -subj ‘/C=DE/ST=Berlin/L=Berlin/O=Organization Name/OU=Department/CN=www.domain.de’ # sha256 certificate request with existing… Read More »