Question about tls and non-tls of GetService #74
Closed
kaoriakana
started this conversation in
General
Replies: 1 comment
-
I have been overcome this problem. BR |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I asked another question behind "#73".
I have not gotten any reply from anyone, so I open this new discussion.
If it is duplicated, someone will delete this discussion.
My question is following
**_Hi!
Thank you to drop me the workable hint, but another problem is derived.
In my case, the web server will work on http and https at the same time.
There are some tls and non-tls clients in my real environment.
"onvif GetService" may reply https://192.168.0.225/onvif/device_service for tls clients at this time,
but may need to reply http://192.168.0.225/onvif/device_service for non-tls clients at next time.
My questions are
1.how to distinguish the requests between the tls and non-tls of GetService from soap level.
I have already checked the tls and nontls request of GetService.
I try to print out the ssl information and get almost the same result.
Please check them.
ssl information in soap layer of tls GetService request
fsslauth = 0x6c7c9 <ssl_auth_init>,
fsslverify = 0x0, bio = 0x0, ssl = 0x0, ctx = 0x0, session = 0x0, dhfile = 0x0, randfile = 0x0, ssl_flags = 1, keyfile = 0x0, keyid = 0x0, password = 0x0, cafile = 0x0, capath = 0x0, crlfile = 0x0,
session_host = '\000' <repeats 1023 times>, session_port = 443, bufidx = 347, buflen = 347, ahead = 0, cdata = 0, body = 1, level = 0, start = 1709172705, count = 347, length = 0,
labbuf = 0x5552f0 "http://www.onvif.org/ver10/device/wsdl", lablen = 256, labidx = 0,
ssl information in soap layer of non-tls GetService request
fsslauth = 0x6c7c9 <ssl_auth_init>,
fsslverify = 0x0, bio = 0x0, ssl = 0x0, ctx = 0x0, session = 0x0, dhfile = 0x0, randfile = 0x0, ssl_flags = 1, keyfile = 0x0, keyid = 0x0, password = 0x0, cafile = 0x0, capath = 0x0, crlfile = 0x0,
session_host = '\000' <repeats 1023 times>, session_port = 443, bufidx = 347, buflen = 347, ahead = 0, cdata = 0, body = 1, level = 0, start = 1709173424, count = 347, length = 0,
labbuf = 0x5552f0 "http://www.onvif.org/ver10/device/wsdl", lablen = 256, labidx = 0,
I can not find the differences or I lose something useful I didn't find.
If my web server works on http/https at the same time,
is it possible to reply
"https://192.168.0.225/onvif/device_service"
"http://192.168.0.225/onvif/device_service"
the 2 items at the same response.
If it is allowed, what the format I have to follow ?_**
Please kindly help me about this question.
Sincerely
Akana
Beta Was this translation helpful? Give feedback.
All reactions