Project

General

Profile

« Previous | Next » 

Revision 9683

Added by Jing Tao over 8 years ago

Add more information on the error message if the client's certificate is not trusted.

View differences:

src/edu/ucsb/nceas/metacat/replication/ReplicationServlet.java
117 117

  
118 118
			// verify the client certificate on the request
119 119
			boolean isValid = false;
120
			String msg = "Client certificate is invalid";
120
			String msg = "Metacat received the replication request. So the client certificate is trusted by the server's Apache/Tomcat. However, Metacat can't find the enity of the client certificate or the server parameter on the request url is registered in the xml_replication table. ";
121 121
			try {
122 122
				isValid = hasValidCertificate(request, server);
123 123
			} catch (Exception e) {

Also available in: Unified diff