During installation of the SMP 3.0 server, it will automatically generate a self-signed certificate that will be used for Agentry server authentication (among other things). This certificate will be based on the fully qualified domain name (FQDN) at the time of the installation. Should this change for any reason or need to reference an external name versus an internal name you will need to regenerate the certificate.
This document outlines the steps needed to regenerate the certificate using the Java keytool utility. Please note that you will need to know the Keystore password you specified during installation of the SMP 3.0 server to perform these steps. These commands assume the SMP Java directory is in your path and that you are executing the commands from the C:\SAP\MobilePlatform3\Server\configuration directory.
Note that with the release of SP08 the keystore filename where the certificate is stored has changed. Please be sure to use the correct keystore name.
Keystore - pre-SP08 = smpkeystore.jks
Keystore - SP08+ = local_smpkeystore.jks
Note that in SP09 the java version the SMP server is using has changed to Java 8. As a result I have updated the batch file to set the java directory name.
The steps are the same, only the file where it is stored has changed in SP08.
In my case, I frequently need to regenerate my certificates due to changing networks and IP addresses so I have created the attached batch file to simplify the process. I simply execute the batch file and it prompts me for the password and new FQDN and performs all the other steps opening Windows explorer to the configuration directory at the end so I can easily install, copy or email the new certificate out.
I have also updated the batch file to account to allow for easily setting the correct keystore name.
To use the batch file.
Enjoy!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
20 | |
10 | |
9 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |