By Default Symantec Critical System Protection (SCSP) used SHA1 hashing and 1024 key. Follow the steps below to change the certificate to use SHA256 with a RSA 2048 key.
Required Resources:
"keytool.exe", Keystore and cert tool, found in: C:\Program Files (x86)\Symantec\Data Center Security Server\server\jre\bin
"agent-cert.ssl" and "server-cert.ssl", SCSP Certificate/Keystores found in: C:\Program Files (x86)\Symantec\Data Center Security Server\server
"server.xml", SDCS Certificate Configuration file found in: "C:\Program Files (x86)\Symantec\Data Center Security Server\server\tomcat\conf"
"keystorepass", Keystore password found in: server.xml
Procedure:
Back up old certs to "agent-cert.ssl.ori" and "server-cert.ssl.ori".
Run Keytool to generate a new Keystore and certificate:
Open an admin command prompt and cd to the folder where keytool is located.
command: "keytool.exe -genkey -alias sss -keyalg RSA -keystore server-cert.ssl -validity 5000 -keysize 2048 -storestype pkcs12"
When prompted, enter KeystorePass password from server.xml
First and last name: SDCS_Management_Server.
OU: <server_hostname>.
Other details optional. When you get to the last step it will show you everything you entered, type Yes to continue. When asked for the sss password press enter.
Run Keytool to generate Certificate Signing Request file.
command: "keytool -certreq -alias sss -keystore server-cert.ssl -file fim.csr -storetype pkcs12"
Run Keytool to export new certificate from new keystore
command: "keytool -export -alias sss -keystore server-cert.ssl -file exp.crt -storetype pkcs12"
Run Keytool to create the new agent certificate
Command: “keytool.exe -export -alias sss -rfc -keystore server-cert.ssl -file agent-cert.ssl -storepass [keystorepass] -storetype pkcs12”
You will now have 2 new files in the same folder as the keytool. Copy both agent-cert.ssl and server-cert.ssl files to the C:\Program Files (x86)\Symantec\Data Center Security Server\server folder.
Restart the SDCS Manager services on the manager or reboot.
Goto C:\Program Files (x86)\Symantec\Data Center Security Server\Console\certs folder and delete the "siscert.ssl"
Log in to SDCS Console.
Accept the new certificate.
Copy "agent-cert.ssl" to all SDCS agents.
If IPS is running, restore the null policy (this can be done locally by running "sisipsconfig -r").
On each agent, run "sisipsconfig -c [path to agent-cert. ssl]". It is advisable to test thoroughly on one or more agents before rolling out elsewhere. Here is a link on how to use the sisipsconfig tool. http://www.symantec.com/connect/articles/how-use-scsp-agent-configuration-tool
Run "sisipsconfig -t" to test the connection.
Once the connection is established and successful the agent will communicate with the manager using the new certificates. It will take the agent a few minutes to show online on the management console.
Note - For SCSP 5.2.9 MP6 and older versions remove "-storetype pkcs12" from all commands