Hello Erel.
Here is the part of the logfile with the error in it.
I added the parts of the code involved with the request.
The certificate is installed on the tablet by means of an
server access.
It shows in the store in the user part and is visible
as two certificates
1) Root CA
2) CA 1
The certificate is working wel, as I navigate to the sever the request pops up.
=====================================================
Sub Process_Globals
Dim HttpClient1 As HttpClient
End Sub
------------------------
Sub Activity_Create(FirstTime As Boolean)
HttpClient1.InitializeAcceptAll ("HttpClient1")
End Sub
------------------------------
body --> XML data see below in logfile
As I am not allowed to show names and passwords, I have replaced them with dummy data
request.InitializePost2(URL1, body.GetBytes("UTF8") )
request.SetHeader("Content-Type", "text/xml; charset=utf-8")
request.SetHeader("SOAPAction", Soapaction)
If HttpClient1.Execute(request, 1) = False Then Return
--------------------------------------------------------
openPcmOut_l() mPcmOpenCnt: 0
<?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-Instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema'><SOAP-ENV:Header><wsse:Security xmlns:wsse='http://schemas.xmlsoap.org/ws/2003/06/secext'><wsse:UsernameToken wsu:Id='user' xmlns:wsse='http://schemas.xmlsoap.org/ws/2003/06/secext' xmlns:wsu='http://schemas.xmlsoap.org/ws/2003/06/utility'><wsse:Username>xxxxxxxxxxxx</wsse:Username><wsse
assword Type='wsse
asswordText'>XXXXXXXX</wsse
assword><wsu:Created>2012-08-13T20:17:19Z</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><opvragenTechnischeGegevensTbvKeuringsinstantie xmlns='http://xxx.xxx.nl/RDC'><RDCNummer>000000</RDCNummer><KINummerMelding>XXXXXXX</KINummerMelding><Kenteken>XXXXXX</Kenteken><Meldcode>XXXX</Meldcode></opvragenTechnischeGegevensTbvKeuringsinstantie></SOAP-ENV:Body></SOAP-ENV:Envelope>
GC_CONCURRENT freed 560K, 9% free 6780K/7431K, paused 2ms+4ms
<?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-Instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema'><SOAP-ENV:Header><wsse:Security xmlns:wsse='http://schemas.xmlsoap.org/ws/2003/06/secext'><wsse:UsernameToken wsu:Id='user' xmlns:wsse='http://schemas.xmlsoap.org/ws/2003/06/secext' xmlns:wsu='http://schemas.xmlsoap.org/ws/2003/06/utility'><wsse:Username>xxxxxxxxxxxx</wsse:Username><wsse
assword Type='wsse
asswordText'>XXXXXXXX</wsse
assword><wsu:Created>2012-08-13T20:17:19Z</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><opvragenTechnischeGegevensTbvKeuringsinstantie xmlns='http://xxx.xxx.nl/RDC'><RDCNummer>000000</RDCNummer><KINummerMelding>XXXXXXX</KINummerMelding><Kenteken>XXXXXX</Kenteken><Meldcode>XXXX</Meldcode></opvragenTechnischeGegevensTbvKeuringsinstantie></SOAP-ENV:Body></SOAP-ENV:Envelope>
javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:137)
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93)
at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:381)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
at anywheresoftware.b4a.http.HttpClientWrapper$3.run(HttpClientWrapper.java:215)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
-1
alloc_buffer: Successfully allocated 0x22000 bytes, mIonFd=23, SharedFd=28
map_buffer: Successfully mapped 0x22000 bytes at address 0x64fe2000, SharedFd=69, map_count = 3
AudioHardware pcm playback is going to standby.
closePcmOut_l() mPcmOpenCnt: 1
unmap_buffer: Successfully unmapped 0x22000 bytes at address 0x64fe2000, SharedFd=69, map_count = 2
free_buffer: Freeing 0x22000 bytes, mIonFd=23 SharedFd=28
unmap_buffer: Successfully unmapped 0x22000 bytes at address 0x49864000, SharedFd=28, map_count = 5
*** set_screen_state 0
I hope you can find a solution for this persisting error.