ATS changes to allow it to leverage installed server certificate and

server key (/etc/ssl/servercerts/serverkey.pem and
/etc/ssl/servercerts/servercert.pem) for SSL communications.
This commit is contained in:
Juan Carlos Luciani
2007-06-01 22:07:46 +00:00
parent 718b0fda28
commit ba8e155d69
9 changed files with 442 additions and 8 deletions

View File

@@ -50,11 +50,12 @@ LOCAL_ATS_SIGNING_CERT_PATH=/etc/CASA/authtoken/keys/localSigningCert
# Perform the operation requested
# Do not do anything if the server keystore has already been created
# Proceed based on whether or not the server keystore has been created
if [ -f $KEYSTORE_PATH ]; then
echo "The server keystore is already setup"
# Make sure that the keystore file is owned by our service
chown casaatsd:casaauth $KEYSTORE_PATH
# Make sure that the keystore file is owned by our service
chown casaatsd:casaauth $KEYSTORE_PATH
else
echo "Setting up the server's keystore"
@@ -82,3 +83,5 @@ else
chmod 600 $KEYSTORE_PATH
fi