OpenSSL

From Wikiversity
Jump to navigation Jump to search

OpenSSL is an open source implementation of the SSL protocol. You can perform some basic operations, such us:

Generate a new self signed certificate

  • openssl req -x590 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/private.key -out /etc/nginx/ssl/public.pem
  • openssl req -x590 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/private.key -out /etc/nginx/ssl/public.pem

See also[edit]

References[edit]