Jump to content

HTTP error when using keystore and crt file in http SSL authentication


batia sher

Recommended Posts

hi, i need to send http request to one destination .

i'v received from the users a signed cert file .

i've created a keystore and imported the cert file into the keystore .

 

 

also createdIdentity ( jks file type ) palete which refers to theKeyStoreFIle that icreated .

while runnig the http process i'm reciveing the follwing error :

The Http Server replied with a 4XX status code

BW-HTTP-100000

 

HTTP/1.1

401

Unauthorized

 

in order to make sure that the original cert file is valid i run it with curl command and its ok , im getting the connection :

**> its works o.k.

does somebody know what can be wrong

any help or ides will be appreciated

thanks

Link to comment
Share on other sites

In BW6.X the keystore file should contain all the certificates from the certificate chain, that could explain problems to connect to the server.

That said from the message 401 not authorized I have the impression the problem is not at SSL level but at an higher level. Does your server expect requests to come with some kind of authentication mechanism (like basic authentication for example)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...