Payara security-constraint https

24 views
Skip to first unread message

Matias Panasci

unread,
Oct 21, 2017, 8:56:42 PM10/21/17
to Payara Forum
Hi, I have the following issue:
Install an SSL certificate on a Payara server.
I deployed an application with the following restriction:

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

When I access the url of the application using the https protocol for example:


The application works as expected, but when I use the url with the www


The server redirects me to:


What I need is, when someone uses:


The server redirects me to: https://www.e-seguros.com.ar

How can I achieve this?
Reply all
Reply to author
Forward
0 new messages