|
428 |
-out "$name/cert.pem" -passin pass:"$PASSWD" |
428 |
-out "$name/cert.pem" -passin pass:"$PASSWD" |
429 |
fi |
429 |
fi |
430 |
|
430 |
|
|
|
431 |
cd "$name" |
432 |
openssl rsa -inform PEM -outform PEM -in private.key -pubout -out public.key |
433 |
cd "$SSLBASE" |
434 |
|
431 |
# move the new certificate to its place |
435 |
# move the new certificate to its place |
432 |
move_cert "${SSLBASE}/${CA}/newcerts/"* |
436 |
move_cert "${SSLBASE}/${CA}/newcerts/"* |
433 |
|
437 |
|