May 15, 2015 Replies: 5 Hi all, For my one needs I have change HTTPUtils to use SSL. I like to share this if somebody need this. Now you can use True or False to make use of SSL. Code: Job.Initialize("yourJobName", Me, True) I have built this from HttpUtils2 Source 1.02 1.03 Source I don't have. Version will be 1.04. I hope somebody like this. Attachments jHttpUtils2SSL.zip jHttpUtils2SSL.zip 7.5 KB · Views: 654 Click to expand...
Hi all, For my one needs I have change HTTPUtils to use SSL. I like to share this if somebody need this. Now you can use True or False to make use of SSL. Code: Job.Initialize("yourJobName", Me, True) I have built this from HttpUtils2 Source 1.02 1.03 Source I don't have. Version will be 1.04. I hope somebody like this.
Erel B4X founder Staff member Licensed User Longtime User May 15, 2015 #2 You don't need to change anything in order to use SSL. Just pass a https url instead of http.
Swissmade Well-Known Member Licensed User Longtime User May 15, 2015 #3 Oh, Then I miss something. This was the only way to download some files from the server. I have a Https link and I always get Refused when I try to download. Will try again Last edited: May 15, 2015
Oh, Then I miss something. This was the only way to download some files from the server. I have a Https link and I always get Refused when I try to download. Will try again
Swissmade Well-Known Member Licensed User Longtime User May 15, 2015 #4 Is the Erel said: You don't need to change anything in order to use SSL. Click to expand... Is there an other Jhttputils2 then 10.3 I always get this on a https URL Error: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated Last edited: Jun 16, 2015
Is the Erel said: You don't need to change anything in order to use SSL. Click to expand... Is there an other Jhttputils2 then 10.3 I always get this on a https URL Error: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Erel B4X founder Staff member Licensed User Longtime User May 17, 2015 #5 You are probably connecting to a server that uses a self signed certificate. So you need to call the somewhat dangerous method hc.InitializeAcceptAll. If your server used a known certificate then it would have worked with no changes. I think that you should describe the change you did in the first post.
You are probably connecting to a server that uses a self signed certificate. So you need to call the somewhat dangerous method hc.InitializeAcceptAll. If your server used a known certificate then it would have worked with no changes. I think that you should describe the change you did in the first post.
Swissmade Well-Known Member Licensed User Longtime User May 17, 2015 #6 Erel said: self signed certificate Click to expand... Yes I use this and know its better for not. But I need to test this. I have not find the way to create a Trusted certificate yet without spending money on this only for testing and maybe later use it.
Erel said: self signed certificate Click to expand... Yes I use this and know its better for not. But I need to test this. I have not find the way to create a Trusted certificate yet without spending money on this only for testing and maybe later use it.