cancel
Showing results for 
Search instead for 
Did you mean: 

configure SSL in J2SE Plain adapter

Former Member
0 Kudos

I tryed to configure SSL in J2SE Plain adapter. (7.0)

I've generated a certificate file "certif_file.cer" and

while I put in GUIBrowserEngine Property File the following

line:

HTTP.SSLcertificate=F:\tech_adapter_70\certif_file.cer

I've got the following error message:

16:19:10 : Error(s) in GUIBrowserEngine configuration

parameters found:

ERROR: Certificate file 'F: ech_adapter_70certif_file.cer' not

found, must quit!

It seems that something wrong with my definition of full path

to this file. But I do not find from SAP Library any solution

about this problem.

Could you help me?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Aashish,

thank you very much for you wishing to help me.

But before I starting to ask someone in any forum,

a full INTERNET and SAP search has been done!!!

So this help page has been read also by me.

Unfortunally, the page has only this line for my problem:

"SSLcertificate specifies the complete file name of a password-protected certificate"

As you see above I tried but this do not work.

With regards

Boris

Former Member
0 Kudos

Hi,

Use escape character in path name, it is clear from your error message that you are not using escape character additional \ after every \.

so if file location with escape character is

"F:
tech_adapter_70
\certif_file.cer"

Ignore 3 slash only use two slashes in path

Hope it will help.

Regards,

Gourav

I am sorry I am putting \ and post is not desplaying it properly

Edited by: Gourav Khare on Dec 20, 2007 5:14 PM

Edited by: Gourav Khare on Dec 20, 2007 5:15 PM

Former Member
0 Kudos

Hi all,

before going to this forum, I've checked all of versions for

this FULL PATH for HTTP.SSLcertificate file and its extention

as well. This is a result of my attemps:

1) HTTP.SSLcertificate=F:/tech_adapter_70/certif_file.cer :

ERROR : The page cannot be displayed

2) rename certif_file.cer to certif_file.p12:

ERROR: Certificate file 'certif_file.p12' not found, must quit!

Boris

aashish_sinha
Active Contributor
0 Kudos

Hi ,

refer this page, it will help you a bit,

http://help.sap.com/saphelp_nw70/helpdata/en/7a/f935c6e131ae488628338b08188188/content.htm

regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Hi Boris,

Please try to give the full path using backslash '/' :

e.g. F:/tech_adapter_70/certif_file.cer

I hope it will work.

The J2SE Adapter Engine uses SSL only for communication line encryption, not for client and server authentications. Since this is a drawback with respect to security, you should use the J2EE Adapter Engine in insecure environments.

All configuration data for the Plain J2SE Adapter Engine is maintained in flat property files.The file for the engine administration data itself is located in the following directory:

<installation directory>/tech_adapter/BaseConfiguration

The file for the adapter configuration data is located in the following directory:

<installation directory>/tech_adapter/Configuration

The adapters of the Plain J2SE Adapter Engine are configured locally and not in the Integration Directory. Exchanged messages are also stored directly in the file system.

Therefore, ensure that only the operating system user, who has started and therefore owns the adapter engine process, can read the property files and has access to the directories used for message exchange.

*Pls: Reward points if helpful*

Regards,

Jyoti

Edited by: Jyoti Acharya on Dec 19, 2007 5:05 PM

aashish_sinha
Active Contributor
0 Kudos

HI,

ERROR: Certificate file 'F: ech_adapter_70certif_file.cer' not

found, must quit!

Check out the file name as you can see its "T" is missing in the error log. So please check out if you are providing the ciorrect name.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Aashish Sinha,

take attention,

the line is:

HTTP.SSLcertificate=F:\tech_adapter_70\certif_file.cer

but the error message is:

F: ech_adapter_70certif_file.cer' ,

So J2SE Plain adapter does not understand "\t" after "F:"

and "\" between "tech_adapter_70" and "certif_file.cer"

May be someone had an experience exactly within "configure SSL in J2SE Plain adapter" ?

Boris

aashish_sinha
Active Contributor
0 Kudos

Mr. Boris.

You are answering or questioning ??? Can you please tell me the name of SSL certificate. is it "ech_adapter_70certif_file.cer". if this is the case your providing the wrong name.. or vice versa.

The other thing is that if the problem is becoz of "\t" change the direction of \ to /. if you are providing it in window machine "/" will work in your full path. so please check.

use ur path like this HTTP.SSLcertificate=F:/tech_adapter_70/certif_file.cer

if it works for you, then enjoy.

And please note it, if you are asking question to a forum, that will be better if you put your anger at home. Otherwise nobody will bother to reply your question. be calm

Regards

Aashish Sinha