CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rc: updated to 2.31
[crossrootfs.git]
/
openssl
/
mksslcert.sh
diff --git
a/openssl/mksslcert.sh
b/openssl/mksslcert.sh
index 9cca3fb81754fcfb5f21ab615fbdf13b5a2c1525..4b10ef90a6a6ab2a6d2f5b244e775ab2218e52a3 100755
(executable)
--- a/
openssl/mksslcert.sh
+++ b/
openssl/mksslcert.sh
@@
-6,7
+6,7
@@
# the local hostname or the given one
# Fallback to localhost if not set.
#
# the local hostname or the given one
# Fallback to localhost if not set.
#
-# J
ürgen Daubert, jue at jue dot li
+# J
uergen Daubert, jue at crux dot nu
print_help() {
print_help() {
@@
-29,9
+29,9
@@
main() {
FQDN="$3"
fi
INFO=".\n.\n.\n.\n.\n$FQDN\nroot@$FQDN"
FQDN="$3"
fi
INFO=".\n.\n.\n.\n.\n$FQDN\nroot@$FQDN"
- OPTS="req -new -nodes -x509 -days 365 -newkey rsa:
1024
"
+ OPTS="req -new -nodes -x509 -days 365 -newkey rsa:
2048
"
-
echo -e $INFO
| openssl $OPTS -out $CRT -keyout $KEY 2> /dev/null
+
printf "$INFO\n"
| openssl $OPTS -out $CRT -keyout $KEY 2> /dev/null
if [ $? -ne 0 ]; then
echo "Error: creating of certificate failed"
if [ $? -ne 0 ]; then
echo "Error: creating of certificate failed"