Skip to main content
Solved

REST API SSL certification issue

  • October 29, 2021
  • 5 replies
  • 476 views

Juergen
Byte
Forum|alt.badge.img+8

Hello,

 

When I access the REST API via http://<<server>>:81/SearchSvc/CVWebService.svc/ it is working with all API commands, now I started to use REST API reports, like:  http://<<server>>:81//webconsole/api/crreportsplusengine/datasets/ now I get a SSL error ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)

I send my requests via python 3.9 with ”requests.get(service, headers=headers)”

commvault version 11.20.55

any idea what is going wrong?

thanks

regards Jürgen

Best answer by HolowEd

@Juergen 

Can you try to access the Rest API report using port 80. As the webconsole is access via tomcat and not the webserver,  please try to access via either of these url  http://<<server>>:80//webconsole/api/crreportsplusengine/datasets/  or  https://<<server>>//webconsole/api/crreportsplusengine/datasets/ 

View original
Did this answer your question?

5 replies

Forum|alt.badge.img+12
  • Vaulter
  • 173 replies
  • Answer
  • October 29, 2021

@Juergen 

Can you try to access the Rest API report using port 80. As the webconsole is access via tomcat and not the webserver,  please try to access via either of these url  http://<<server>>:80//webconsole/api/crreportsplusengine/datasets/  or  https://<<server>>//webconsole/api/crreportsplusengine/datasets/ 


Juergen
Byte
Forum|alt.badge.img+8
  • Author
  • Byte
  • 44 replies
  • October 29, 2021

@HolowEd 

Thanks for your response.

I tried with port 80, now I get this error:

<!DOCTYPE html>
<html>
    <head>
        <title>A potentially dangerous Request.Path value was detected from the client (:).</title>
        <meta name="viewport" content="width=device-width" />
        <style>

…..

regards juergen


Forum|alt.badge.img+12
  • Vaulter
  • 173 replies
  • October 29, 2021

@Juergen 

What is the REST API call that you are using.


Juergen
Byte
Forum|alt.badge.img+8
  • Author
  • Byte
  • 44 replies
  • October 29, 2021

Forum|alt.badge.img+7

@Juergen the api should be 

api/cr/reportsplusengine and not api/crreportsplusengine


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings