Questions? Feedback?powered byOlark live chat software

Standard Support

Bug 1828

Git R3, Can not push, certificate invalid 07 November, 2018

Luke Monson
02 November, 2018
Product: PowerBuilder Category: IDE
Version: 2017 R3 Publishing: Public
Status: Verifying Priority: P3
Classification: Issue Resolution:
Tom Jiang 07 November, 2018
Hi Luke,

As you mentioned in a previous comment that the issue happens to both http and https I think it is probably not related to the certificate. That's why I suggest that you test the other Git servers.

But if the issue only converns https, then you will need to install the self-signed certificate on the client machine to work around this issue.

Here is an aritcle on how to install the certificate:
https://www.poweradmin.com/help/sslhints/

Please note that it also requires that the domain name matches the sertificate. Otherwise, you will still get the certificate error warning on IE when you access the server, which also means that it won't work in PB. 

In my test with Bonobo Git Server, I ended up creating a self-signed certificate with a domain (e.g. mybonobo) using the method described in this article. 
https://medium.com/the-new-control-plane/generating-self-signed-certificates-on-windows-7812a600c2d8

Then on my client side, after I installed the certificate from IE and I use a link like https://mybonobo/Bonobo.Git.Server/abc.git to access the repository. Everything works fine now.

BTW: Our tests on the other servers are mainly cloud versions, so they are not using self-signed certificates.

Regards,

Tom Jiang
Luke Monson 06 November, 2018
(In reply to Tom Jiang from comment #7)
Hi Luke,

We haven't done any test on Gogs. But we have done extensive tests on the
mainstream Git servers like GitHub, GitLab, Bitbucket, Bonobo Git Server and
TFS. 

So we suggest that you verify with one of those and see if you still get
this issue. If you are still evaluating you git server and don't have
production code on Gogs, I would suggest that you try Bonobo Git Server and
see if that resolves your issue.  

Regards,

Tom Jiang
To verify: You have tested self-signed certificates with other Git severs (GitHub, GitLab, Bitbucket, Bonobo Git Server and TFS.) and you don't have an issue. Is that correct?
Tom Jiang 06 November, 2018
Hi Luke,

We haven't done any test on Gogs. But we have done extensive tests on the mainstream Git servers like GitHub, GitLab, Bitbucket, Bonobo Git Server and TFS. 

So we suggest that you verify with one of those and see if you still get this issue. If you are still evaluating you git server and don't have production code on Gogs, I would suggest that you try Bonobo Git Server and see if that resolves your issue.  

Regards,

Tom Jiang
Luke Monson 05 November, 2018
Gogs Version: 0.11.34.1122
Luke Monson 05 November, 2018
(In reply to Tom Jiang from comment #4)
Luke,

Please let us know what Git server you are using when you get this issue? If
you use http instead of https do you still get this issue?

Regards,

Tom Jiang
It’s a self hosted git server. Yes. It happens with http and https
Tom Jiang 05 November, 2018
Luke,

Please let us know what Git server you are using when you get this issue? If you use http instead of https do you still get this issue?

Regards,

Tom Jiang
Luke Monson 03 November, 2018
This is for my employer so if you have information on why it is not supported please pass that information on to me here.
Luke Monson 02 November, 2018
I have used tortoiseGit and been able to push. Or with cmd prompt without issue. I am wondering about being able to use the push and pull options in the Powerbuilder IDE.
Luke Monson 02 November, 2018
new certificate test.PNG (25KB)

*Phenomenon:
R3 and git won't work with self-signed certificates

*Reproduce Steps:
open R3
create workspace
add to source control (git)
in preferences enter git server address
select and try to push or pull

Remark:
Any successful workarounds. Will it be supported?
OS:
Windows 7 
Platform:
 
Database Type:
Microsoft SQL Server 
Database Version:
12