tls1.2

Not able to connect to HTTPS service using ISTIO Gateway and Virtual Service

风流意气都作罢 提交于 2019-12-08 04:02:19
问题 As I am new to istio, along with all my team members, we would really appreciate if we can get some help here. Problem I have followed the below documentation to create certs and create secrets in k8s using the application cert and key https://istio.io/docs/tasks/traffic-management/secure-ingress/#troubleshooting After that I restarted my istio-ingressgateway pod so that it loads the certs. Which aanyway I can see inside the pod when I exec. And I have added below annotation in istio

eval “$(docker-machine env default)” leads to Error checking TLS connection

和自甴很熟 提交于 2019-12-08 00:25:33
问题 I've installed Docker on my Mac about a month ago, and I now wanted to use it again. The command eval "$(docker-machine env default)" used to work perfectly before, but I now get an error: Error checking TLS connection: default is not running. Please start it in order to use the connection settings I searched around for this error, but I can't really find anything about it. Does anybody know what I should do to solve this? All tips are welcome! 回答1: Your boot2docker virtual machine must be

PHP Sockets with SSL / TLS - no suitable shared cipher could be used

半世苍凉 提交于 2019-12-07 16:59:16
问题 I am attempting to create a server and client using PHP Sockets with SSL / TLS. However, when sending data to the server, I receive the following error: PHP Warning: stream_socket_accept(): SSL_R_NO_SHARED_CIPHER: no suitable shared cipher could be used. This could be because the server is missing an SSL certificate (local_cert context option) in server.php on line 32 I've looked at other examples and tried various changes to no avail. Any help could be much appreciated. client.php <?php

Hyperledger Fabric SDK - https & TLS Cert / Key

£可爱£侵袭症+ 提交于 2019-12-07 11:41:45
问题 Note: I am using the Go SDK, but this should apply to Node, Java, etc. SDKs. I am using a fabric-ca instance as my Certificate Authority, and for a realistic production environment I need to use a secure connection. Based on the config-e2e.yaml example configuration file [1], we should be able to use https in the CA url. Example: certificateAuthorities: org1-ca: url: https://localhost:7054 However, once https is required, the SDK requires that the TLS cert/key filepath is added in the client

System.Net.SecurityProtocolType.Tls12 definition not found

半城伤御伤魂 提交于 2019-12-07 10:27:38
问题 I'm trying to add the following line of code to the Global.asax file in a website project. System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12; The vs2012 IntelliSense is showing that Tls12 definition exist. But the build is saying that the definition does not exist (See screen shot). I've tried adding System.Net.dll to the bin folder of the project, but the build still failed. Any idea how I might be able to resolve this? 回答1: SecurityProtocolType.Tls11

Openssl: certificate verification fails when CApath argument is used in SSL_CTX_load_verify_locations API

断了今生、忘了曾经 提交于 2019-12-07 09:38:37
问题 I am trying to establish a TLS connection to a server machine. I have created the root CA certificate and the server certificate using openssl CLI commands. I created the server certificate with common name same as its IP address. The common name of the root CA certificate is the FQDN of the server. I am using openssl library APIs to establish connection to the server. I am using the API int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, const char *CApath) for setting the CA

SSL: CERTIFICATE_VERIFY_FAILED when connecting to a company Exchange Server

自古美人都是妖i 提交于 2019-12-07 08:09:28
I try to send mails from out company exchange server via Python. My problem is, that I get a SSL error. I read a lot of pem-, cer-, crt-files, but I can not connect all these information to have success. I am sure, that if one can fix the issue in my little example script, one could fix the exchange script, too. I read a lot about certificates and ca_bundles, but I don't know how to apply all of that to my issue. Example-Script : import requests requests.get('https://mail.ourserver.loc') Error : C:\Python\python.exe "PATHtoMYproject/testing.py" Traceback (most recent call last): File "C:

Configured SSL on Tomcat 8 and Connection Times Out

南笙酒味 提交于 2019-12-07 06:33:17
问题 I setup a keystore and got a SSL cert from openssl.com. The exact steps I followed are here: https://drive.google.com/file/d/0B6PUGo7cBLcDTzdkc0pzT2pTMk0/view?usp=sharing Unfortunately even after following their instructions for tomcat exactly and working with customer support my https connection times out. It seems like tomcat is up and running, listening on port 443, but I don't know how to debug deeper. Http requests are served just fine, so I know tomcat itself is working just fine. [ec2

Kubernetes. HTTPS API return `Unauthorized`

久未见 提交于 2019-12-07 03:09:34
问题 Kubernetes API request curl https://192.168.0.139 --cacert /home/mongeo/ku-certs/ca.pem return Unauthorized Request curl localhost:8080 worked good. My kube-proxy and kube-apiserver standart (coreos+k8s tutorial) How do I get data on HTTPS? 回答1: Did you specify --token-auth-file=<file> and/or --basic-auth-file=<otherfile> or one of the other authentication modes? I don't know that https endpoint will work without one of these (maybe it should, but it doesn't, apparently). Check out https:/

How to connect to TLS 1.2 enabled URL with Java [closed]

ぐ巨炮叔叔 提交于 2019-12-07 00:26:42
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . How to connect to TLS 1.2 enabled URL using HTTP POST Method. 回答1: Java 8 Java 8 will use TLS 1.2 by default https://blogs.oracle.com/java-platform-group/jdk-8-will-use-tls-12-as-default So for Java 8 all you need to do is the following. import javax.net.ssl.*; import java.net.URL