Cannot edit tomcat-users.xml

I think the reason is that you can’t edit files in “Program Files” without administrator rights. I had that kind of problem several times and I usually solve it by running my text editor with admin rights. For example, to edit file with notepad in Windows 7: Find it in your start menu, click on … Read more

How Chrome browser know which client certificate to prompt for a site?

The client certificate authentication is ruled in the handshake phase of the SSL/TLS protocol implemented by browsers. If the server requires a client certificate authentication (it is optional), send a message to client with the list of the accepted certificate authorities (CA). Can be void if server accepts any certificate. The client select the certificates … Read more

Tomcat 7 – Servlet 3.0: Invalid byte tag in constant pool

Adding metadata-complete=”true” to your web.xml should sort the issue <web-app version=”3.0″ xmlns=”http://java.sun.com/xml/ns/javaee” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd” metadata-complete=”true”> This tells tomcat not to scan classes for annotations: https://web.archive.org/web/20180510163848/http://www.tomcatexpert.com/blog/2011/10/12/how-use-fragments-and-annotations-configure-your-web-application

“unable to find valid certification path to requested target”, but browser says it’s OK [duplicate]

The different certificates can be found in the following keystore : %JAVA_HOME%/jre/lib/security/cacerts If you want to list the trusted certificates : keytool -list -keystore %JAVA_HOME%/jre/lib/security/cacerts The password is optional to list. If you want to add an entry : First, export the certificate to import, let’s say it will be c:\cert.crt. The best way to … Read more

tech