Moved the copying of the ATS Signing Certificate to the init.d script

because the CasaAuthTokenSvc webapp folder is not created until after
Tomcat is started.
This commit is contained in:
Juan Carlos Luciani
2007-06-01 17:56:42 +00:00
parent ef99031e7e
commit 718b0fda28
3 changed files with 27 additions and 4 deletions

View File

@@ -68,9 +68,6 @@ else
# Print the exported cert
#$KEYTOOL_PATH -printcert -file $LOCAL_ATS_SIGNING_CERT_PATH
# Allow the signing certificate to be downloaded from the ATS
cp $LOCAL_ATS_SIGNING_CERT_PATH /srv/www/casaats/webapps/CasaAuthTokenSvc/SigningCert
# Import the signing certificate into the trusted ATS keystore
$KEYTOOL_PATH -import -noprompt -keystore $TRUSTED_ATS_KEYSTORE_PATH -alias local_signingCert -storepass secret -keypass secret -file $LOCAL_ATS_SIGNING_CERT_PATH