AndroidAsync icon indicating copy to clipboard operation
AndroidAsync copied to clipboard

Client authentication not supported

Open jfehr67 opened this issue 7 years ago • 3 comments

In order to enable client authentication, wrapper.engine.setNeedClientAuth(true) needs to be called before it begins handshake. When this is enabled, the rest is done through TrustManager & KeyManager as usual.

jfehr67 avatar Sep 27 '18 01:09 jfehr67

I can send you the code if you need it. (A few lines each in AsyncHttpServer.java and AsyncSSLSocketWrapper.java)

jfehr67 avatar Sep 27 '18 01:09 jfehr67

Actually, its about 5 lines in AsyncHttpServer.java. Don't need the wrapper.

jfehr67 avatar Sep 27 '18 17:09 jfehr67

@jfehr67 Are you referring to "Authentication in URL" which looks something like https://username:[email protected]/? When I try this I get an authorization failure from the server, what are you saying needs to be done for this to work?

michael-ts avatar Jan 03 '19 23:01 michael-ts