ssl

The author primary signature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain

浪尽此生 提交于 2021-02-05 20:40:49
问题 While doing a docker build on my .NET Core project, I got the following error on all my NuGets: 80.19 /app/GradingTool.Tests/GradingTool.Tests.csproj : error NU3028: Package 'Microsoft.EntityFrameworkCore 5.0.0' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain [/app/GradingTool.sln] #12 80.20 /app/GradingTool.Tests/GradingTool.Tests.csproj : error NU3037:

Using WebServiceTemplate with a keystore

戏子无情 提交于 2021-02-05 20:35:39
问题 Is it possible to configure a WebServiceTemplate with a java keystore? edit I'm looking for a way to configure the location of the keystore in the spring config 回答1: I think you can programatically load a keystore based using a KeyStore.Builder: http://java.sun.com/j2se/1.5.0/docs/api/java/security/KeyStore.Builder.html#newInstance%28java.lang.String,%20java.security.Provider,%20java.io.File,%20java.security.KeyStore.ProtectionParameter%29 So maybe have a class that has a webservice template

Using WebServiceTemplate with a keystore

不想你离开。 提交于 2021-02-05 20:33:42
问题 Is it possible to configure a WebServiceTemplate with a java keystore? edit I'm looking for a way to configure the location of the keystore in the spring config 回答1: I think you can programatically load a keystore based using a KeyStore.Builder: http://java.sun.com/j2se/1.5.0/docs/api/java/security/KeyStore.Builder.html#newInstance%28java.lang.String,%20java.security.Provider,%20java.io.File,%20java.security.KeyStore.ProtectionParameter%29 So maybe have a class that has a webservice template

SSL certificate issue while creating git clone with TortoiseGit

荒凉一梦 提交于 2021-02-05 13:13:43
问题 I want to clone the git repository with the help of TortoiseGit, but I am getting error : error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://git.assembla.com/pplconnect-PL.webserver.git/info/refs?service=git-upload-pack fatal: HTTP request failed git did not exit cleanly (exit code 128). Any help or guidance will be well appreciated. 回答1: You can choose to ignore the

SSL certificate issue while creating git clone with TortoiseGit

ぃ、小莉子 提交于 2021-02-05 13:11:07
问题 I want to clone the git repository with the help of TortoiseGit, but I am getting error : error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://git.assembla.com/pplconnect-PL.webserver.git/info/refs?service=git-upload-pack fatal: HTTP request failed git did not exit cleanly (exit code 128). Any help or guidance will be well appreciated. 回答1: You can choose to ignore the

How do peers involved in a p2p communication authenticate each other?

自闭症网瘾萝莉.ら 提交于 2021-02-05 12:22:04
问题 How do peers in WebRTC authenticate each other? 回答1: DTLS in WebRTC uses self-signed certificates. RFC 5763 has the details, in a nutshell the certificate fingerprint is matched against the one provided in the a=fingerprint line of the SDP. 回答2: As the comment from Patrick Mevzek already mentioned: It doesn't depend on DTLS or TLS, if a self-signed certificate is trusted/accepted. This depends only from the peer's trusted certificates. If the client's or server's certificate path/chain

TLS handshake failure

北慕城南 提交于 2021-02-05 12:10:59
问题 This question was migrated from Information Security Stack Exchange because it can be answered on Stack Overflow. Migrated last month . I have an embedded IOT device connected to real time DB FireBase. However, the server cancel the TLS handshake with fatal alert 0x46 = protocol_version. I have managed to get an hex dump of the whole handshake process. Can someone explain me why the handshake was canceled? My device is using TLS V1.2 as firebase expected as it can be seen in the header (16 3

TLS handshake failure

妖精的绣舞 提交于 2021-02-05 12:10:43
问题 This question was migrated from Information Security Stack Exchange because it can be answered on Stack Overflow. Migrated last month . I have an embedded IOT device connected to real time DB FireBase. However, the server cancel the TLS handshake with fatal alert 0x46 = protocol_version. I have managed to get an hex dump of the whole handshake process. Can someone explain me why the handshake was canceled? My device is using TLS V1.2 as firebase expected as it can be seen in the header (16 3

How to get data from a website that uses SSL using cURL and PHP?

微笑、不失礼 提交于 2021-02-05 11:34:26
问题 I am trying to get some data from a website where you need to have a SSL certificate to be able to connect to it. I have found the following code : // create curl resource $ch = curl_init(); // set url curl_setopt($ch, CURLOPT_URL, $host); //return the transfer as a string curl_setopt($ch, CURLOPT_RETURNTRANSFER, $host); // $output contains the output string $output = curl_exec($ch); // close curl resource to free up system resources curl_close($ch); The cURL query works well, but the data

SSL on Apache HTTP Server

醉酒当歌 提交于 2021-02-05 11:30:41
问题 I have 2 crt files for Apache server: 1_root_bundle.crt 2_my_domain_name.com.crt And other bundle: 1_Intermediate.crt 2_my_domain_name.com.crt root.crt I have modified /etc/apache2/sites-available/default-ssl.conf And tried various combinations of above mentioned files but after Apache2 service restart SSL does not work, browser shows "Connection is not secure": SSLEngine on SSLCertificateFile /etc/apache2/ssl/1_Intermediate.crt SSLCertificateKeyFile /etc/apache2/ssl/2_my_domain_name.com.crt