cancel
Showing results for 
Search instead for 
Did you mean: 

SMP3 - Certificate file

Former Member
0 Kudos

I have sucessfully installed SMP 3 on a machine (e.g. "MACHINE1") -- will be used for an Agentry application.  During the installation, the certificate file (smp_crt.cer) is created in the "C:\SAP\MobilePlatform3\Server\configuration" folder.  However, I have changed the name of the machine (e.g. to "MACHINE2").  Since the pre-existing certificate file is issued to/by MACHINE1, is there a process to re-create the smp_crt.cer file to be issued to/by MACHINE2?  Or do I have to completely uninstall SMP3 and do a full reinstall so it can create the certificate for the current machine's name?

-- Ed

Tags edited by: Michael Appleby

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ed,

I didn't understand when you say "change machine name to MACHINE 2". Can you share more information on this.

is it possible for you to check the information available in that certificate file? It must be having host name details.

(You may try with textpad)

Rgrds,

JK

Former Member
0 Kudos

The Windows machine name was originally called MACHINE1.  I then changed it to MACHINE2 (those names are just examples).  As part of the certificate, there is the "CN=MACHINE1", so I need a new certificate relating to the new Windows name of MACHINE2.

-- Ed

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ed,

since you have already installed smp3.0 server, what do you see in host name when you open "management Cockpit"?

E.g. https://host:port/admin

is host name showing as machine1 or machine 2?

Rgrds,

JK

Former Member
0 Kudos

Is is for MACHINE1 (e.g.: https://MACHINE1:8083:admin)

I can type in https://MACHINE2:8083/admin and it will start up the Cockpit, but will get a certificate error.  I'm wanting to avoid this error as well as get a proper certificate for devices.

I guess the underlying question is this.  If after installing SMP3 and the Windows machine name is changed, what changes/configurations need to be done for SMP3 to now work properly based on the new machine name?  Is that answer is that SMP3 has to be completed uninstalled and reinstalled?  Or are there utilities that can be run to change information from one machine name to another.

-- Ed

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

I didn't understand.  Are you able to login to the both URL? I mean for machine 1 and machine 2? Or only one?

To remove certificate warning, follow the step mention here.

http://scn.sap.com/community/developer-center/mobility-platform/blog/2013/05/31/how-to-remove-certif...

For your second question I guess can give proper advise.

Rgrds,

JK

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Ed,

Yes, unless you have DNS setup so that the hostname machine1 still resolves to the IP address of machine2 and you are going to have all your clients connect using the machine1 hostname you will need to regenerate your certificate to machine2.

Depending on the type of certificate you are wanting to generate you can use the java keytool to generate a new certificate.  I will try to write up a document with the specific commands for you.

--Bill

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Ed,

Please refer to the following document for steps on regenerating your certificate.

--Bill

Former Member
0 Kudos

Thank you, Bill.  This is exactly what I needed.

-- Ed

Answers (0)