add name to script

This commit is contained in:
Tobias Powalowski 2024-08-01 10:17:36 +02:00
parent 321fa94f94
commit 772934b9ba

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Copyright (c) 2015 by Roderick W. Smith
# Licensed under the terms of the GPL v3
# replaced GUID with uuidgen
# replaced GUID with uuidgen Tobias Powalowski - <tpowa@archlinux.org>
echo -n "Enter a Common Name to embed in the keys: "
read -r NAME
openssl req -new -x509 -newkey rsa:2048 -subj "/CN=$NAME PK/" -keyout PK.key \