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

fix issue#1 #2

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ca.key
ca.crt
*.csr
*.key
*.crt
ca.db.certs/
ca.db.index
ca.db.index.attr
ca.db.serial

2 changes: 1 addition & 1 deletion new-root-ca.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RANDOM_SRC=/dev/urandom
# Create the master CA key. This should be done once.
if [ ! -f ca.key ]; then
echo "No Root CA key found. Generating one"
openssl genrsa -aes256 -out ca.key $KEYBITS -rand ${RANDOM_SRC}
openssl genrsa -aes256 -out ca.key -rand ${RANDOM_SRC} $KEYBITS
echo ""
fi

Expand Down