python-sonarqube-api icon indicating copy to clipboard operation
python-sonarqube-api copied to clipboard

proposal for sonar servers without ssl certificate

Open YaiGenes opened this issue 3 years ago • 3 comments

Dear @shijl0925

Your project is awesome to work in a very interactive way with python and sonar. The only problem is when your sonarqube does not have a valid ssl. I would like to propose you a new feature.

My proposal is for any users which their sonar servers has not a valid ssl certificate, so we can set verify=false, so you can connect without the need of verify ssl.

Best regards,

yaigenes

YaiGenes avatar Jul 07 '22 13:07 YaiGenes

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Jul 07 '22 13:07 sonarqubecloud[bot]

when we do not use the param 'verify', the client connect sonar server without ssl certificate : h = SonarQubeClient(sonarqube_url="http://localhost:9000", username='admin', password='admin')

shijl0925 avatar Jul 07 '22 14:07 shijl0925

Dear @shijl0925

Nop, is not working if I dont use verify in my code with your module, look at this:

image image image image

But if I change in your community init file in your source code these line, your module works for my connection

image image image image

Here, is working and the output is going well.

Hope that I clarify the description in a better way

Best regards,

yaigenes

YaiGenes avatar Jul 08 '22 06:07 YaiGenes