1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

disable https on localhost only

Discussão em 'StackOverflow' iniciado por Stack, Janeiro 5, 2021.

  1. Stack

    Stack Membro Participativo

    I'm using tomcat 7 and I would like to disable SSL traffic origination from localhost only! and enable it for inbound traffic.

    I have added the following config to web.xml and it's currently redirects traffic from http to https.

    <security-constraint>
    <web-resource-collection>
    <web-resource-name>app</web-resource-name>
    <url-pattern>/info</url-pattern>
    </web-resource-collection>
    <!-- OMIT auth-constraint -->
    </security-constraint>

    <security-constraint>
    <web-resource-collection>
    <web-resource-name>app</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>Role</role-name>
    </auth-constraint>
    </security-constraint>


    I have a custom backup tool on my server that doesn't work with HTTPs therefore I'm looking to disable HTPPs on localhost.

    Continue reading...

Compartilhe esta Página