Wildfly SSL certificate and connection

Asked

Viewed 1,316 times

0

I followed this answer to this question in the OS to configure SSL: how to configure ssl in wildfly 8.2.0 server?

Before without this configuration the access in the door did not work 8443 which is the port that makes the connection to the applications safely.

But now always when I access an app from the door 8443 appears to download a file I do not know what it is about, but I believe that it is the certificate an SSL certificate that we must put in the client. I don’t know what I should do with this file, there are more steps to configure SSL?

The file name is TecnologiaExemplo that has not yet been saved, but as we change the application in the URL a new download with a different suggestion of filename.

inserir a descrição da imagem aqui

1 answer

1

Solved, to access in a "secure" way, that is, without a certificate signed by a company that issues SSL certificates was included in the URL the https:// and not only localhost:8443/aplicacao.

After that in my web.xml application I put the following XML to re-order from HTTP to HTTPS no longer occurring the problem of asking to download this file:

<security-constraint>
    <web-resource-collection>
        <web-resource-name>WEB_APPLICATION_NAME</web-resource-name>
        <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <user-data-constraint>
        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
</security-constraint>

Where WEB_APPLICATION_NAME is the name of your application.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.