[jboss-jira] [JBoss JIRA] (SWSQE-401) Kiali Client Needs To Support SSL

Guilherme Baufaker Rêgo (JIRA) issues at jboss.org
Thu Aug 30 20:57:00 EDT 2018


    [ https://issues.jboss.org/browse/SWSQE-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13626893#comment-13626893 ] 

Guilherme Baufaker Rêgo commented on SWSQE-401:
-----------------------------------------------

With a similar script on Ruby I have got the same result.:

{code:ruby}
irb(main):002:0> require 'rest-client'
=> true
irb(main):003:0> RestClient.get 'https://kiali-istio-system.openshift.jonqe.lab.eng.bos.redhat.com/api/status', {:Authorization => 'Basic YWRtaW46YWRtaW4='}
Traceback (most recent call last):
        7: from /usr/bin/irb:11:in `<main>'
        6: from (irb):3
        5: from /home/gbaufake/.gem/ruby/gems/rest-client-2.0.2/lib/restclient.rb:67:in `get'
        4: from /home/gbaufake/.gem/ruby/gems/rest-client-2.0.2/lib/restclient/request.rb:52:in `execute'
        3: from /home/gbaufake/.gem/ruby/gems/rest-client-2.0.2/lib/restclient/request.rb:145:in `execute'
        2: from /home/gbaufake/.gem/ruby/gems/rest-client-2.0.2/lib/restclient/request.rb:642:in `transmit'
        1: from /home/gbaufake/.gem/ruby/gems/rest-client-2.0.2/lib/restclient/request.rb:758:in `rescue in transmit'
RestClient::SSLCertificateNotVerified (SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain))
{code}


Might it be a problem with a self-signed certificate?


> Kiali Client Needs To Support SSL
> ---------------------------------
>
>                 Key: SWSQE-401
>                 URL: https://issues.jboss.org/browse/SWSQE-401
>             Project: Kiali QE
>          Issue Type: Bug
>            Reporter: Matt Mahoney
>            Assignee: Guilherme Baufaker Rêgo
>
> Issue is as follows:
> KialiClient(scheme='https', host=config.get('kiali_hostname'),
>                    username=config.get('kiali_username'), password=config.get('kiali_password'))
> >           raise URLError(err)
> E           URLError: <urlopen error [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:579)>



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list