[jboss-jira] [JBoss JIRA] (WFLY-11089) Uploading content from HAL in SSL doesn't work

Claudio Miranda (JIRA) issues at jboss.org
Fri Sep 28 09:17:01 EDT 2018


    [ https://issues.jboss.org/browse/WFLY-11089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13639986#comment-13639986 ] 

Claudio Miranda commented on WFLY-11089:
----------------------------------------

If comment the truststore from the authentication on the ManagementRealm, the upload works.
If use elytron settings instead of ManagementRealm, for the https it works.

http management interface
{code}
<management-interfaces>
    <http-interface ssl-context="sslctx_https_webcons" security-realm="ManagementRealm">
        <http-upgrade enabled="true"/>
        <socket-binding http="management-http" https="management-https"/>
    </http-interface>
</management-interfaces>
{code}

The elytron settings
{code}
<tls>
    <key-stores>
        <key-store name="ks_https_webcons">
            <credential-reference clear-text="admin123"/>
            <implementation type="JKS"/>
            <file path="https_webcons.jks" relative-to="jboss.server.config.dir" />
        </key-store>
    </key-stores>
    <key-managers>
        <key-manager name="ekm_https_webcons" algorithm="SunX509" key-store="ks_https_webcons">
            <credential-reference clear-text="admin123"/>
        </key-manager>
    </key-managers>
    <server-ssl-contexts>
        <server-ssl-context name="sslctx_https_webcons" protocols="TLSv1.2" key-manager="ekm_https_webcons"/>
    </server-ssl-contexts>
</tls>
{code}

> Uploading content from HAL in SSL doesn't work
> ----------------------------------------------
>
>                 Key: WFLY-11089
>                 URL: https://issues.jboss.org/browse/WFLY-11089
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (Undertow), Web Console
>    Affects Versions: 14.0.0.Final
>            Reporter: ehsavoie Hugonnet
>            Assignee: Stuart Douglas
>         Attachments: application-roles.properties, https_webcons.jks, localhost.har, standalone.xml, truststore.jks, windows2008-1.gsslab.rdu2.redhat.com.jks
>
>
> When uploading a file from the web console to WildFly using an SSL secured connection the content is not stored, it is replaced by the Base64 DMR operation.
> Looking at the request I didn't see the file part of the multipart request the parsing return only 1 part while the request on management-upload seems to have 2 parts (see attached har file).
> It doesn't happen with the jboss-cli (ssl or not) nor in HAL on HTTP.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list