cancel
Showing results for 
Search instead for 
Did you mean: 

Error while importing portal certificate through STRUSTSSO2 into backend .

Former Member
0 Kudos

Hello,

I'm getting the below error while importing portal certificate "verify.der" file into my backend ERP system.The same file "verify.der" is successfully imported to other backend system.Can someone please tell me what could be the problem and how to resolve this.

"Error when opening file"

Thanks

Khaiser

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The message no is as below

Error when opening file

Message no. TRUST063

Jozsó
Explorer
0 Kudos

Hi Khaiser,

I don't know the reason for this, but a workaround could be to export the SAPLogonTicketKeypair-cert from the Visual Administrator in Base64 format, and import it using the same format in STRUSTSSO2.

Regards,

Jozsef

Former Member
0 Kudos

Hi,

You get this error because you don't use the correct certificate format.

The easier way is to use a cert file in base64 format.

IF you abap system is windows, you have to convert the end of lines character from unix to windows (LF --> CRLF).

You can use sappad for this conversion.

Regards,

Olivier

Former Member
0 Kudos

Hi Jozsef,

I tried to use BASE64 format while importing the certificate but still no luck.My backend system is an ABAP system only.

Thanks

Khaiser

Former Member
0 Kudos

Hi Olivier,

I tried using BASE64 format but no luck.My backend system is an ABAP system on windows .The portal system is also on windows ,Not sure what do you mean by convert the end of lines character from unix- windows??Could you please help me in understanding this.

Thanks

Khaiser

Former Member
0 Kudos

Hi again

What I meant is when you generate a base64 certificate file from the SAP portal (or any JAVA stack system), the end of lines characters are unix like (single LF Line Feed character) even if the portal runs on Windows, and STRUSTSSO2 is unable to read it. If you convert it with sappad (save as NT file), STRUSTSSO2 will then be able to read it.

Regards,

Olivier

cris_hansen
Advisor
Advisor
0 Kudos

Hi Khaiser,

Check if you have the necessary authorizations to import the certificate: TRUST063 usually means lack of authorization. SU53 should help you finding the missing auth after you face TRUST063.

All the best,

Cristiano

Former Member
0 Kudos

Hello

I've SAP_ALL authorisation however when i try to import the certificate I see the below error in SM21 txn.I will try a OS reboot and check .Will update you guys.

08:44:39 RD Q0 I Operating system call connect failed (error no. 10061)

08:44:39 DIA 001 720 P00004943 STRU R4 9 Communication error, CPIC return code 017, SAP return code 236

08:44:39 DIA 001 720 P00004943 STRU R6 4 > CPI-C function: CMINIT(SAP)

Thanks

Khaiser

Former Member
0 Kudos

Hi,

It looks like you have some gateway communication problem. Check your dev_rd trace file for more details and tcode smgw.

Regards,

Manoj

Former Member
0 Kudos

Problem solved after re-booting the system and was able to successfully import the certificate.

Thanks for your help everyone.