Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument not working for pemmake.sh #1

Open
mrkev opened this issue May 4, 2019 · 0 comments
Open

Argument not working for pemmake.sh #1

mrkev opened this issue May 4, 2019 · 0 comments

Comments

@mrkev
Copy link

mrkev commented May 4, 2019

No matter the argument I give, it keeps generating rsaprivkey.pem. Hopefully I'm just using it wrong.

An alternative that works for me is to just use the argument directly:

if test $# -ne 1; then
    echo "Usage: pemmake.sh <keyname>"
    exit 1
fi

openssl genrsa -out rsapriv$1.pem 1024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant