[ 
https://issues.apache.org/jira/browse/YARN-6457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15989783#comment-15989783
 ] 

Haibo Chen edited comment on YARN-6457 at 4/29/17 6:24 AM:
-----------------------------------------------------------

Yep. That is what I had in mind. I think the code can be simplified a bit
{code:java}
    if (sslConf == null) {
      sslConf = new Configuration(false);
    }
    boolean needsClientAuth = 
YarnConfiguration.YARN_SSL_CLIENT_HTTPS_NEED_AUTH_DEFAULT;

String sslConfResource = conf.get("hadoop.ssl.server.conf", 
    YarnConfiguration.YARN_SSL_SERVER_RESOURCE_DEFAULT);
sslConf.addResource(sslConfResource);
...
{code:java}


was (Author: haibochen):
Yep. That is what I had in mind. I think the code can be simplified a bit
{code:java}
...
String sslConfResource = conf.get("hadoop.ssl.server.conf", 
    YarnConfiguration.YARN_SSL_SERVER_RESOURCE_DEFAULT);
sslConf.addResource(sslConfResource);
...
{code:java}

> Allow custom SSL configuration to be supplied in WebApps
> --------------------------------------------------------
>
>                 Key: YARN-6457
>                 URL: https://issues.apache.org/jira/browse/YARN-6457
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: webapp, yarn
>            Reporter: Sanjay M Pujare
>            Assignee: Sanjay M Pujare
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Currently a custom SSL store cannot be passed on to WebApps which forces the 
> embedded web-server to use the default keystore set up in ssl-server.xml for 
> the whole Hadoop cluster. There are cases where the Hadoop app needs to use 
> its own/custom keystore.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to