Skip to content
Snippets Groups Projects
Commit ed2a9ce8 authored by nimrod's avatar nimrod
Browse files

Default name for gen_csr.

parent 95a44b06
No related branches found
No related tags found
No related merge requests found
...@@ -202,7 +202,8 @@ ssh_keyscan_add () { ...@@ -202,7 +202,8 @@ ssh_keyscan_add () {
} }
gen_csr () { gen_csr () {
openssl req -new -newkey rsa:4096 -nodes -out "$1.csr" -keyout "$1.key" name="${1:-site}"
openssl req -new -newkey rsa:4096 -nodes -out "$name.csr" -keyout "$name.key"
} }
__sync_comics () { __sync_comics () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment