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:
parent
ba8e155d69
commit
5e1711d870
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user