CERTIFICATE_VERIFY_FAILED on HTTP_Check_Form_Submit

Thank you for your thaughts and the effort tosch.

The ending collon (“:”) is displayed in the link in the GUI report too:

and via curl you are connecting against the URL:

[/quote]

If I try the check with URL - I get as follows:

Note the collon again at the end of the URL.

Or via CLI:

sudo /opt/omd/versions/2.0.0p22.cee/lib/nagios/plugins/check_form_submit -I xxx.nn -u /login -p 443 -e adresa -d
GET https://xxx.nn/login
CODE: 200 RESPONSE:
Traceback (most recent call last):
  File "/opt/omd/versions/2.0.0p22.cee/lib/nagios/plugins/check_form_submit", line 380, in <module>
    exitcode, info = main()
  File "/opt/omd/versions/2.0.0p22.cee/lib/nagios/plugins/check_form_submit", line 363, in main
    raise_host_state(client, base_url, uri, timeout, form_name, params, expect_regex)
  File "/opt/omd/versions/2.0.0p22.cee/lib/nagios/plugins/check_form_submit", line 228, in raise_host_state
    real_url, body = open_url(client, base_url + uri, timeout=timeout)
  File "/opt/omd/versions/2.0.0p22.cee/lib/nagios/plugins/check_form_submit", line 150, in open_url
    ['    %02d %s' % (index + 1, line) for index, line in enumerate(content.split('\n'))]))

TypeError: a bytes-like object is required, not 'str'

The TypeError I get - is the same as in GUI on later version (2.1). Hence I assumed that I must enter IP of the host for HTTP_check_form_submit, because it expect “bytes-like” data there and used the IP in all checks.