Class ProxyCA
java.lang.Object
org.apache.hadoop.yarn.server.webproxy.ProxyCA
Allows for the generation and acceptance of specialized HTTPS Certificates to
be used for HTTPS communication between the AMs and the RM Proxy.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]createChildKeyStore(org.apache.hadoop.yarn.api.records.ApplicationId appId, String ksPassword) createSSLContext(org.apache.hadoop.yarn.api.records.ApplicationId appId) byte[]getChildTrustStore(String password) voidinit()voidinit(X509Certificate caCert, PrivateKey caPrivateKey)
-
Constructor Details
-
ProxyCA
public ProxyCA()
-
-
Method Details
-
init
- Throws:
GeneralSecurityExceptionIOException
-
init
public void init(X509Certificate caCert, PrivateKey caPrivateKey) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityExceptionIOException
-
createChildKeyStore
public byte[] createChildKeyStore(org.apache.hadoop.yarn.api.records.ApplicationId appId, String ksPassword) throws Exception - Throws:
Exception
-
getChildTrustStore
- Throws:
GeneralSecurityExceptionIOException
-
generateKeyStorePassword
-
createSSLContext
public SSLContext createSSLContext(org.apache.hadoop.yarn.api.records.ApplicationId appId) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
getHostnameVerifier
-
getCaCert
-
getCaKeyPair
-