ggpanta Member Licensed User Longtime User Mar 28, 2014 #1 Can we have the option to ignore the SSL certificate for self-signed or incomplete/wrong hostname? Thanks in advance.
Can we have the option to ignore the SSL certificate for self-signed or incomplete/wrong hostname? Thanks in advance.
Erel B4X founder Staff member Licensed User Longtime User Mar 30, 2014 #2 Are you posting a wish or a question? If it is a question then it is better to post it in the questions forum.
Are you posting a wish or a question? If it is a question then it is better to post it in the questions forum.
ggpanta Member Licensed User Longtime User Mar 30, 2014 #3 ermm its a feature request/wish except if there is a way to ignore the ssl certificate thats not documented.
ermm its a feature request/wish except if there is a way to ignore the ssl certificate thats not documented.
Erel B4X founder Staff member Licensed User Longtime User Mar 30, 2014 #4 You can easily configure it to accept all certificates if you use the code modules instead of the compiled library.
You can easily configure it to accept all certificates if you use the code modules instead of the compiled library.
ggpanta Member Licensed User Longtime User Mar 30, 2014 #5 I did that in b4a but in the b4j package I only get a compiled lib
Erel B4X founder Staff member Licensed User Longtime User Mar 30, 2014 #6 I've uploaded the source code: http://www.b4x.com/android/forum/threads/jhttputils2-source-code.39415/
I've uploaded the source code: http://www.b4x.com/android/forum/threads/jhttputils2-source-code.39415/
M murgero Member Licensed User Longtime User Feb 5, 2015 #8 How would I go about ignore SSL certificate errors, I have the module loaded (Not the Library) and I do not see where I can modify the module to ignore certificates.
How would I go about ignore SSL certificate errors, I have the module loaded (Not the Library) and I do not see where I can modify the module to ignore certificates.
M murgero Member Licensed User Longtime User Feb 5, 2015 #9 Nevermind, I found it Thanks Erel! For those looking for it: IN HttpUtils2Service under service_create change: hc.initialize to hc.InitializeAcceptAll
Nevermind, I found it Thanks Erel! For those looking for it: IN HttpUtils2Service under service_create change: hc.initialize to hc.InitializeAcceptAll