ssl-client-authentication

GCDAsyncSocket with Client Authentication

送分小仙女□ 提交于 2019-12-01 04:22:22
I have been using CocoaAsyncSocket to send data to our server without SSL. Now the server side has implemented SSL/TLS with client authentication. TO implement this in our app I was given the following three files: ca-chain.cert.pem client-test.cert.pem client-test.key.pem I converted the files to iOS readable formats as below: ca-chain.cert.pem to ca-cert.cer client-test.cert.pem to client_cert.cer client-test.key.pem to client_key.p12 I have got it working till SSL. But having trouble with Client Authentication. Here is my code: didConnectToHost: - (void)socket:(GCDAsyncSocket *)sock

AWS API Gateway MTLS client auth

て烟熏妆下的殇ゞ 提交于 2019-12-01 01:51:55
问题 Everytime I searched for Mutual Auth over SSL for AWS API Gateway I can only find MTLS between AWS API Gateway and Backend Services. But I'm looking to secure my AWS API Gateway endpoints itself with MTLS (client auth) . For instance, I have a backed service QueryCustomer which I have proxied through AWS API Gateway. Now I can put an SSL Cert on API Gateway but it's usual 1-way SSL. What I want to achieve is to have an MTLS with client auth where the consumer of APIs from AWS API Gateway

GCDAsyncSocket with Client Authentication

怎甘沉沦 提交于 2019-11-30 04:36:42
问题 I have been using CocoaAsyncSocket to send data to our server without SSL. Now the server side has implemented SSL/TLS with client authentication. TO implement this in our app I was given the following three files: ca-chain.cert.pem client-test.cert.pem client-test.key.pem I converted the files to iOS readable formats as below: ca-chain.cert.pem to ca-cert.cer client-test.cert.pem to client_cert.cer client-test.key.pem to client_key.p12 I have got it working till SSL. But having trouble with

Read out incoming certificate in Tomcat

孤街醉人 提交于 2019-11-26 16:36:44
问题 i use a tomcat http connector with client-authentification. If a client start a new connection to my server and sends his certificate, can i get the certificate and read the common name from the incoming certificate out in my java code. If yes, how? thanks adi 回答1: You can get the client certificate chain by getting the javax.servlet.request.X509Certificate attribute on your HttpServletRequest . This is an array of X509Certificates where the first one (position 0) is the actual client