Skip to content

Commit

Permalink
add onelinepem
Browse files Browse the repository at this point in the history
  • Loading branch information
bdargan authored and bdargan committed Oct 30, 2015
1 parent 06e36e5 commit b6cd511
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _aliases
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ alias woy='date +"%gW%W"'
alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1]);"'

alias selfsignedcert='openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes'
aliase onelinepem='while read line; do printf "$line\\"; printf "n"; done'

#alias genkeys='openssl genrsa 2048'
#csrreq openssl req -new -nodes -newkey rsa:2048 -sha256 -keyout private.pem -out server.csr

Expand Down

0 comments on commit b6cd511

Please sign in to comment.