client-certificates

HTTP error 403.16 - client certificate trust issue

眉间皱痕 提交于 2019-11-29 20:18:37
I am trying to implement client certificate authentication on IIS 8. I have deployed my configuration on a development machine and verified it working as expected there. However after setting up on the server, whenever I navigate to the site and am prompted for the client cert, I select it and immediately get the 403.16 error. The failed requests log gives the error code 2148204809 and message "A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider." I have a valid client cert and also a valid CA cert. The CA cert is installed in Trusted

Client certificates with AWS API Gateway

情到浓时终转凉″ 提交于 2019-11-29 19:40:11
问题 I am trying to implement mutual authentication for the communication between aws api gateway and my server. I want to use the client side certificates that amazon offers for authentication. I know that my server is configured correctly because previously I was using a lambda function and mutual authentication was working. I have exported the (.PEM) certificate and added it into a truststore. I have configured my Jetty server to use that truststore for authentication. I have set client-auth to

RESTful web service - how to authenticate requests from other services?

自作多情 提交于 2019-11-29 18:35:32
I am designing a RESTful web service that needs to be accessed by users, but also other web services and applications. All of the incoming requests need to be authenticated. All communication takes place over HTTPS. User authentication is going to work based on an authentication token, acquired by POSTing the username and password (over an SSL connection) to a /session resource provided by the service. In the case of web service clients, there is no end user behind the client service. The requests are initiated by scheduled tasks, events or some other computer operations. The list of

Getting “The remote certificate is invalid according to the validation procedure” when SMTP server has a valid certificate

强颜欢笑 提交于 2019-11-29 17:05:29
问题 This seems a common error but while I've found a work-around (see below) I can't pin down the reason I'm getting it in the first place. I am writing SMTP functionality into our application and I'm attempting to add SSL functionality to the working SMTP we already have. I am testing using our company's MS Exchange server and specifically the webmail option enabled on that. I can send emails internally through my code by not authenticating my connection and sending anonymously, however those

Restricting access to server to iPhone app

独自空忆成欢 提交于 2019-11-29 15:47:18
问题 I'm building a client/server iPhone game, where I would like to keep third-party clients from accessing the server. This is for two reasons: first, my revenue model is to sell the client and give away the service, and second I want to avoid the proliferation of clients that facilitate cheating. I'm writing the first version of the server in rails, but I'm considering moving to erlang at some point. I'm considering two approaches: Generate a "username" (say, a GUID) and hash it (SHA256 or MD5)

Swift iOS Client Certificate Authentication

為{幸葍}努か 提交于 2019-11-29 12:30:37
问题 The web service I want to consume requires a client certificate. How can I send my certificate to it? To further elaborate I don't understand how to create the SecIdentityRef . In my NSURLConnection didReceiveAuthenticationChallenge I've got this conditional after ServerTrust : else if challenge?.protectionSpace.authenticationMethod == NSURLAuthenticationMethodClientCertificate { var secIdent : SecIdentityRef = ????????? var certCred = NSURLCredential(identity: secIdent, certificates:

How to use p12 certificates in Android (client certificates)

谁说我不能喝 提交于 2019-11-29 10:28:43
问题 I'm trying to use client certificates in android. I got a .p12 file that i want to use to authenticate towards the server. I am using portecle to convert the .p12 file to a .bks file but i don't seem to get it to work. Here's the code: package com.pa1406.SECURE; import java.io.InputStream; import java.security.KeyStore; import javax.net.ssl.KeyManagerFactory; import javax.net.ssl.TrustManagerFactory; import org.apache.http.conn.ClientConnectionManager; import org.apache.http.conn.scheme

IISExpress ClientCertificate Setup Steps

会有一股神秘感。 提交于 2019-11-29 10:25:28
I am trying to configure a simple web site to require client certificates on IISExpress. My configuration is according to http://www.jasonrshaver.com/?tag=/IIS+Express <site name="XXXX" id="3"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="XXXX" /> </application> <bindings> <binding protocol="http" bindingInformation="*:65360:localhost" /> <binding protocol="https" bindingInformation="*:44300:localhost" /> </bindings> </site> ... <access sslFlags="Ssl, SslNegotiateCert" /> ... <iisClientCertificateMappingAuthentication enabled="true"> <

Browser is not prompting for a client certificate

不羁岁月 提交于 2019-11-29 03:23:16
Background: I am updating an internal application to a two-step authentication process. I want to add a client certificate authentication process (via a smart card) on top of a traditional username/password form. The application is written in C#, hosted on IIS7, and targeting Chrome and IE8. Problem: I am having issues with getting the application to prompt the user for a client certificate. I have been debugging the application with the help of Fiddler. When I have a test client certificate saved in Fiddler's user's directory (C:\Documents and Settings\USER\My Documents\Fiddler2), the

Clear SSL client certificate state from JavaScript

你说的曾经没有我的故事 提交于 2019-11-29 02:16:46
I'm using client certificates in SSL sessions to authenticate users, but I'm having a bit of a problem with cached sessions. (I have configured IIS to accept—not require—client certificates.) Normal situation: A user accesses the page that asks for the certificate. The browser launches the certificate selector, the user selects the desired certificate (and enters a PIN if needed), and everything goes forward as it should. Situation where things don't work as expected: A user accesses the page that asks for the certificate. The browser launches the certificate selector, and the user selects the