self-signed

git 2.20.1.windows.1 does not honor http.sslverify=false

一个人想着一个人 提交于 2019-11-26 06:49:21
问题 After the latest update (in fact, I did a new install) of git for Windows I cannot connect to a specific remote repository any longer via https. It\'s on an in-house server which uses a self-signed certificate which has also been expired for a while (don\'t ask). It used to work with git for Windows 2.16.x (iirc) and continues to work with parallel installations in cygwin and mysys2 (which report version 2.17.0 and 2.20.1, respectively). Here is what I tried (not all at the same time): I have

Failed to load resource: net::ERR_INSECURE_RESPONSE

て烟熏妆下的殇ゞ 提交于 2019-11-26 04:36:24
问题 IS there a way to trick the server so I don\'t get this error: Content was blocked because it was not signed by a valid security certificate. I\'m pulling an iframe of an html website into another website but I keep getting the console (chrome) error in the title of this question and in internet explorer it says: Content was blocked because it was not signed by a valid security certificate. 回答1: Your resource probably use a self-signed SSL certificate over HTTPS protocol. Chromium, so Google

How to create a self-signed certificate using C#?

青春壹個敷衍的年華 提交于 2019-11-26 00:56:34
I need to create a self-signed certificate (for local encryption - its not used to secure communications), using C#. I've seen some implementations that use P/Invoke with Crypt32.dll , but they are complicated and its hard to update the parameters - and I would also like to avoid P/Invoke if at all possible. I don't need something that is cross platform - running only on Windows is good enough for me. Ideally the result would be an X509Certificate2 object that I can use to insert into the Windows certificate store or export to a PFX file. Guss This implementation uses the

How can I create a self-signed certificate using C#?

ε祈祈猫儿з 提交于 2019-11-26 00:52:32
问题 I need to create a self-signed certificate (for local encryption - it\'s not used to secure communications), using C#. I\'ve seen some implementations that use P/Invoke with Crypt32.dll, but they are complicated and it\'s hard to update the parameters - and I would also like to avoid P/Invoke if at all possible. I don\'t need something that is cross platform - running only on Windows is good enough for me. Ideally, the result would be an X509Certificate2 object that I can use to insert into

How can I make git accept a self signed certificate?

不羁的心 提交于 2019-11-26 00:45:06
问题 Using Git, is there a way to tell it to accept a self signed certificate? I am using an https server to host a git server but for now the certificate is self signed. When I try to create the repo there for the first time: git push origin master -f I get the error: error: Cannot access URL https://the server/git.aspx/PocketReferences/, return code 22 fatal: git-http-push failed 回答1: To permanently accept a specific certificate Try http.sslCAPath or http.sslCAInfo . Adam Spiers's answer gives

Self-signed SSL acceptance on Android

元气小坏坏 提交于 2019-11-25 23:37:01
问题 How do I accept a self-signed certificate in Java on Android? A code sample would be perfect. I\'ve looked everywhere on the Internet and while some people claim to have found the solution, it either does not work or there is no sample code to back it up. 回答1: I have this functionality in exchangeIt, which connects to Microsoft exchange via WebDav. Here's some code to create an HttpClient which will connect to self signed cert's via SSL: SchemeRegistry schemeRegistry = new SchemeRegistry(); /

Getting Chrome to accept self-signed localhost certificate

送分小仙女□ 提交于 2019-11-25 22:22:04
问题 I have created a self-signed SSL certificate for the localhost CN. Firefox accepts this certificate after initially complaining about it, as expected. Chrome and IE, however, refuse to accept it, even after adding the certificate to the system certificate store under Trusted Roots. Even though the certificate is listed as correctly installed when I click \"View certificate information\" in Chrome\'s HTTPS popup, it still insists the certificate cannot be trusted. What am I supposed to do to