3 v >      t > t  t      t $   >    >   >  >  > > > > > > > > > !" #$ %&' () (* (+, -. \ \/ 01 23 245 b67 8 b9:;< h h=>? @ AB C DE FGserialVersionUIDJ ConstantValue =logReplicationLorg/apache/log4j/Logger; logMetacat()VCodeLineNumberTableLocalVariableTablethis7Ledu/ucsb/nceas/metacat/replication/ReplicationServlet;init (Ljavax/servlet/ServletConfig;)V errorMessageLjava/lang/String;se0Ledu/ucsb/nceas/metacat/shared/ServiceException;configLjavax/servlet/ServletConfig; StackMapTable ExceptionsdestroydoGetR(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Vrequest'Ljavax/servlet/http/HttpServletRequest;response(Ljavax/servlet/http/HttpServletResponse;HdoPosthandleGetOrPostnamevalue[Ljava/lang/String;eLjava/lang/Exception; outStreamLjava/io/OutputStream;isValidZmsgoutLjava/io/PrintWriter;paramsLjava/util/Hashtable; paramlistLjava/util/Enumeration;actionserverLocalVariableTypeTable;+Ljava/util/Enumeration;IJEKLMhasValidCertificate<(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;)ZrdnLjavax/naming/ldap/Rdn; serverURILjava/net/URI; serverHost givenSubject givenServerCNldapNameLjavax/naming/ldap/LdapName; serverCodeIerror certificate$Ljava/security/cert/X509Certificate;N.OPQ SourceFileReplicationServlet.java ReplicationService RST UV.edu/ucsb/nceas/metacat/shared/ServiceExceptionjava/lang/StringBuilderQReplicationServlet.init - Service problem while intializing Replication Servlet: WX YZ [Z ~}ReplicationServlet.init - \] ^ |}javax/servlet/ServletException _ java/util/HashtableK `aJ bc dejava/lang/String fg hi jc klMetacat received the replication request. 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. java/lang/Exception%Could not verify client certificate: mL noI p_ q rs-ReplicationServlet.handleGetOrPost - Action "" rejected for server: t^" accepted for server: readdata uv wx yz{forcereplicatedatafile| }~ forcereplicate forcereplicatesystemmetadata 5edu/ucsb/nceas/metacat/replication/ReplicationServiceforcereplicatedelete forcereplicatedeleteallupdate read getlock getdocumentinfo getsystemmetadata gettime  getcatalog test text/html _+Test successfully _%ReplicationServlet.handleGetOrPost - RReplicationServlet.handleGetOrPost - Error in ReplicationServlet.handleGetOrPost:  R  $Given client's certificate subject: ^javax/naming/ldap/LdapName  O c ejavax/naming/ldap/Rdn ZCN  eGiven server CN:  java/net/URIhttps:// Z9Checking against registerd replication server host name: *  ReplicationServlet.hasValidCertifcate - the client certificate is null. This means somehow the client certificate wasn't passed to Metacat!ReplicationLogging 5edu/ucsb/nceas/metacat/replication/ReplicationServlet javax/servlet/http/HttpServletjava/io/IOExceptionjava/io/PrintWriterjava/util/Enumeration%javax/servlet/http/HttpServletRequest&javax/servlet/http/HttpServletResponsejava/lang/Throwable"java/security/cert/X509Certificatejava/util/Iterator!javax/naming/InvalidNameExceptionjava/net/URISyntaxException getInstance9()Ledu/ucsb/nceas/metacat/replication/ReplicationService;-edu/ucsb/nceas/metacat/service/ServiceServiceregisterService@(Ljava/lang/String;Ledu/ucsb/nceas/metacat/shared/BaseService;)Vappend-(Ljava/lang/String;)Ljava/lang/StringBuilder; getMessage()Ljava/lang/String;toStringMETACAT_REPL_ERROR_MSGorg/apache/log4j/Logger(Ljava/lang/Object;)V(Ljava/lang/String;)VgetParameterNames()Ljava/util/Enumeration;hasMoreElements()Z nextElement()Ljava/lang/Object;getParameterValues'(Ljava/lang/String;)[Ljava/lang/String;put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;isEmptyget&(Ljava/lang/Object;)Ljava/lang/Object;*(Ljava/lang/Object;Ljava/lang/Throwable;)V getWriter()Ljava/io/PrintWriter;printclosegetServerCodeForServerName(Ljava/lang/String;)Idebugequals(Ljava/lang/Object;)ZgetOutputStream%()Ljavax/servlet/ServletOutputStream;handleGetDataFileRequestV(Ljava/io/OutputStream;Ljava/util/Hashtable;Ljavax/servlet/http/HttpServletResponse;)Vjava/io/OutputStream%edu/ucsb/nceas/metacat/MetaCatServlet isReadOnly+(Ljavax/servlet/http/HttpServletResponse;)Z#handleForceReplicateDataFileRequest?(Ljava/util/Hashtable;Ljavax/servlet/http/HttpServletRequest;)VhandleForceReplicateRequestg(Ljava/util/Hashtable;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/http/HttpServletRequest;)V)handleForceReplicateSystemMetadataRequest!handleForceReplicateDeleteRequesth(Ljava/util/Hashtable;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/http/HttpServletRequest;Z)VhandleUpdateRequest@(Ljava/util/Hashtable;Ljavax/servlet/http/HttpServletResponse;)VhandleGetDocumentRequesthandleGetLockRequesthandleGetDocumentInfoRequesthandleGetSystemMetadataRequesthandleGetTimeRequesthandleGetCatalogRequestR(Ljava/util/Hashtable;Ljavax/servlet/http/HttpServletResponse;Z)Ljava/lang/String;setContentTypeprintln*org/dataone/client/auth/CertificateManager.()Lorg/dataone/client/auth/CertificateManager;getCertificateM(Ljavax/servlet/http/HttpServletRequest;)Ljava/security/cert/X509Certificate; getSubjectDN8(Ljava/security/cert/X509Certificate;)Ljava/lang/String;infogetRdns()Ljava/util/List;java/util/Listiterator()Ljava/util/Iterator;hasNextnextgetTypeequalsIgnoreCase(Ljava/lang/String;)ZgetValuegetHostreplaceD(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;endsWith getLogger-(Ljava/lang/String;)Lorg/apache/log4j/Logger;,(Ljava/lang/Class;)Lorg/apache/log4j/Logger;!tvwxyz |} ~}/*6 OFMY , N Y  -Y- . DEDM G HI#J>KELNN*#+ BOO KB+R I*+, WX I*+, ]^  ,NY:+:&:+:W: 2::! 2:6": *+#62: Y%  & :   '  '),(N-)*- *-+*-,--,-0Y.  /  0--,Y.  1  023,4:  ,5 6n73,8 --,+9K:3,8 --,,+;'<3,8 --,,+=?3,8 --,,+@A3,8 --,,+@B3,8 --,,CD3 ,EF3 ,GpH3 ,I]J3 ,KJL3 ,M7N3,OW"P3,QR,(N-ST-\-,U: YU  YV  --,: --, $jt} )2jt} )2 gbc dfg)h3i=j@lDmVngpjt{w~xz{|}~AKS[`mtx|}  ")-12;ENXakt~$(+)3 - S ~PL 8,,,* !Dj !',&& .)3E    JD 2  W+XN-W-Y: YZ  [:\Y]:^_:`Fab:cde*f: Yg  0,-6ShYYi , j:k: Yl  0mn: op: Yqb /2=_lv z _44- 2=U   ,IIZ-rstu  :;