You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently to get the jwk keys from discovery URL(https://login.microsoftonline.com/tenentID/discovery/v2.0/keys). It creates default URLConnection and TLS.
How we can create customized TLS connection. My server is disabled TLSv1 and TLSv1.1. class:
public class UrlJwkProvider implements JwkProvider { method:
private Map<String, Object> getJwks() throws SigningKeyNotFoundException {
how can I add multiple prtocols instead of just one ?
this SSLContext.getInstance("TLSv1.2") allows since protocol only.
I have a list SSLv3/TLSv1/TLSv1.1/TLSv1.2/TLSv1.3 which I want to be able to use instead of just one. Is that possible ?
currently to get the jwk keys from discovery URL(https://login.microsoftonline.com/tenentID/discovery/v2.0/keys). It creates default URLConnection and TLS.
How we can create customized TLS connection. My server is disabled TLSv1 and TLSv1.1.
class:
public class UrlJwkProvider implements JwkProvider {
method:
private Map<String, Object> getJwks() throws SigningKeyNotFoundException {
URLConnection connection = (URLConnection) url.openConnection();
Something similar like this.
HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
SSLContext sc = SSLContext.getInstance("TLSv1.2");
sc.init(null, null, new java.security.SecureRandom());
The text was updated successfully, but these errors were encountered: