Yast module modifications to invoke the shell script that allows the ATS

to leverage installed certificates and keys for the server.
This commit is contained in:
Juan Carlos Luciani 2007-06-01 23:05:03 +00:00
parent ba8e155d69
commit 5e1711d870
3 changed files with 6 additions and 3 deletions

View File

@ -47,7 +47,7 @@ if [ -f /etc/ssl/servercerts/serverkey.pem ]; then
# Check if we must create PKCS12 keystore
if [ ! -f $PKCS12_KEYSTORE_PATH ]; then
# Create PKCS12 keystore
openssl pkcs12 -export -in $SERVER_CERT_PATH -inkey $SERVER_KEY_PATH -name tomcat -out PKCS12_KEYSTORE_PATH -password pass:password
openssl pkcs12 -export -in $SERVER_CERT_PATH -inkey $SERVER_KEY_PATH -name tomcat -out $PKCS12_KEYSTORE_PATH -password pass:password
# Make sure that the PKCS12 keystore is only accessible by the service
chown casaatsd:casaauth $PKCS12_KEYSTORE_PATH

View File

@ -658,6 +658,9 @@ global boolean Write() {
}
});
// Refresh the server Keystore
SCR::Execute(.target.bash, "/usr/share/java/CASA/authtoken/bin/refresh_server_keystore.sh");
// Adjust firewall as needed
if (Abort()) return false;
Progress::NextStage();

View File

@ -1,8 +1,8 @@
@HEADER-COMMENT@
@HEADER@
Requires: yast2 CASA_auth_token_svc curl
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite CASA_auth_token_svc curl yast2-theme-NLD java-sdk-1.5.0 update-alternatives log4j jakarta-commons-logging pwdutils CASA-devel
Requires: yast2 CASA_auth_token_svc curl openssl
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite CASA_auth_token_svc curl openssl yast2-theme-NLD java-sdk-1.5.0 update-alternatives log4j jakarta-commons-logging pwdutils CASA-devel
BuildArchitectures: noarch