view bin/gencsr @ 683:71254a6ddb4c

[bash] Also detect (new?) tmux term
author nanaya <me@nanaya.pro>
date Tue, 09 Aug 2022 04:16:52 +0900
parents 152c020d7d8e
children
line wrap: on
line source

#!/bin/sh

openssl genrsa -out ssl.key 4096
openssl req -out ssl.csr -key ssl.key -new -sha256 -subj "/CN=yoursite.com"