0 votes
by (75.8k points)


2018-06-11 20:10:07 DEBUG HttpRequest(1)[112918690] HTTP: Using new HTTP session (1).
2018-06-11 20:10:07 INFO HttpRequest(1)[112918690] HTTP: Connecting to 'https://ttopweb1qa:443'...
2018-06-11 20:10:07 DEBUG HttpRequest(1)[112918690] Info: Assembly: Rebex.Common 2018 R1.1 for .NET Compact Framework 3.5
2018-06-11 20:10:07 DEBUG HttpRequest(1)[112918690] Info: Platform: Windows CE 6.0.0 32-bit; CLR: 3.5.10010.0
2018-06-11 20:10:07 DEBUG HttpRequest(1)[112918690] Info: Culture: en; windows-1252
2018-06-11 20:10:07 DEBUG HttpRequest(1)[112918690] Proxy: Resolving 'ttopweb1qa'.

Applies to: Rebex HTTPS

1 Answer

0 votes
by (75.8k points)

by (110 points)
hi Luka,
 After setting the hostname to IP mapping in device  - we able to resolve the  host name

 - but we facing the issue with the Certificate Validation  - its throwing below error

018-06-13 16:34:13 DEBUG HttpRequest(1)[69140706] TLS: HandshakeMessage:ServerHelloDone was received.
2018-06-13 16:34:13 DEBUG HttpRequest(1)[69140706] TLS: Verifying server certificate ('O="testserver.", C=US, OU=MULTI-ALLOWED, OU=SIMPLE-SSL, CN=TTOPWEB1QA').
2018-06-13 16:34:14 INFO HttpRequest(1)[69140706] TLS: Certificate verification status: IncompleteChain (65536)
2018-06-13 16:34:14 DEBUG HttpRequest(1)[69140706] TLS: Certificate verification result: UnknownAuthority
2018-06-13 16:34:14 DEBUG HttpRequest(1)[69140706] TLS: Error while processing TLS packet: Rebex.Net.TlsException: Server certificate was rejected by the verifier because of an unknown certificate authority.

 - when we done the initial testing we were able to success - but with other server

018-01-08 19:16:06 DEBUG HttpRequest(1)[110690990] TLS: HandshakeMessage:ServerHello was received.
2018-01-08 19:16:06 INFO HttpRequest(1)[110690990] TLS: Using TLS 1.2.
2018-01-08 19:16:06 DEBUG HttpRequest(1)[110690990] TLS: The server supports secure renegotiation.
2018-01-08 19:16:06 DEBUG HttpRequest(1)[110690990] TLS: HandshakeMessage:Certificate was received.
2018-01-08 19:16:06 DEBUG HttpRequest(1)[110690990] TLS: HandshakeMessage:ServerHelloDone was received.
2018-01-08 19:16:06 DEBUG HttpRequest(1)[110690990] TLS: Verifying server certificate ('O="test1server.", C=US, OU=MULTI-ALLOWED, OU=SIMPLE-SSL, CN=IP).
2018-01-08 19:16:06 DEBUG HttpRequest(1)[110690990] TLS: Certificate verification result: Accept
2018-01-08 19:16:06 VERBOSE HttpRequest(1)[110690990] TLS: Sent TLS packet:


 - is there any way to handle this?
by (75.8k points)
The `Certificate verification status: IncompleteChain` and `Certificate verification result: UnknownAuthority` means that you have not installed Root certificate of the server in your device.

The correct solution is to install Root certificate for `CN=TTOPWEB1QA` to your device. Other solutions are discussed at http://blog.rebex.net/howto-server-certificate-rejected-exception/

In case of WCF, the appropriate settings are accessible by WcfBinding.RequestCreator.Settings property.
...