You can subscribe to this list here.
2002 |
Jan
|
Feb
(1) |
Mar
(74) |
Apr
(4) |
May
(14) |
Jun
|
Jul
(4) |
Aug
(9) |
Sep
|
Oct
(3) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
(186) |
Apr
(26) |
May
(4) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
(64) |
Oct
|
Nov
|
Dec
(11) |
2004 |
Jan
(8) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(25) |
2005 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
|
May
(4) |
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
(6) |
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Daniel M. <tub...@us...> - 2003-09-09 04:20:22
|
Update of /cvsroot/epp-rtk/epp-rtk/java/ssl/old-ssl In directory sc8-pr-cvs1:/tmp/cvs-serv18423/old-ssl Added Files: Tag: epp-pre02 CAStore CAcert.crt KeyStoreImport.class KeyStoreImport.java README.TXT RTKsigned.cert ServerStore Servercert.crt Sign.java keystoreimport.properties signedcert.crt ssl.properties Log Message: 'upgrading' the ssl directory from the old stuff to the new stuff from epp0705 --- NEW FILE: CAStore --- þíþí +* ÙºdsqßPX0n¼Ú3¹I}Ýý·Hrí¢ýØaKI1Øá ìº-Qà*f¸&æòÞú¿ÁÙη¼#ZÛ³Ûü©kg³b7cxtxx¨E3u 7×·Zr¿)¼Ð£hêL¿ü¼´úx@ôÐÞ(´ÁDÕWÔt÷òÏægÚ¯Z]Q¤içËLõÿìn4â\®396»q {ÍΩÒx~¶jNÁÈpk=ÏJdÆ®w }ÔïmQT§RU;çþWóÔù ØhÅW]ÚFAe,ù¢É÷1ïL³¨A{>$'ý§ïþ<ÛÀÙ{UdÅ$q5k<}ÔnnôX ú&ù¡`!êäXz¶±ýP½µc tucows1 0Uoxrs10U Tucows-CA0 010524050021Z 010822050021Z0e10 UCA10UOntario10UToronto10 U tucows1 0Uoxrs10U Tucows-CA0·0,*HÎ80 ëÞºçv ð=jjf ÷E²õH>t8õ=nÛK*ólüv/su=]éeÀ,m²\+T=°¬iðUÛG§ÆÑlíg¨Ôcn¶MZ0*HÎ8 --- NEW FILE: CAcert.crt --- 0ÿ0¼;e0*HÎ8 tucows1 0Uoxrs10U Tucows-CA0 010524050021Z 010822050021Z0e10 UCA10UOntario10UToronto10 U tucows1 0Uoxrs10U Tucows-CA0·0,*HÎ80 ëÞºçv ð=jjf ÷E²õH>t8õ=nÛK*ólüv/su=]éeÀ,m²\+T=°¬iðUÛG§ÆÑlíg¨Ôcn¶MZ0*HÎ8 --- NEW FILE: KeyStoreImport.class --- Êþº¾ SourceFile ,¶ ¶ ¶ ¶ 2¶ ¶ --- NEW FILE: KeyStoreImport.java --- import java.io.*; import java.util.*; import java.security.cert.*; import java.security.*; import java.math.*; // import of some cdcProvider classes (mostly for RSAPrivCrtKey) // available at http://www.informatik.tu-darmstadt.de/TI/Forschung/cdcProvider/overview.html import cdc.standard.rsa.*; class KeyStoreImport { public static void main(String arg[]) { try { Properties system_props = System.getProperties(); String ssl_props_location = (String) system_props.getProperty("ssl.props.location"); if ( ssl_props_location == null || ssl_props_location.length() == 0 ) { throw new IOException("No ssl props location specified"); } System.out.println("Loading ssl.properties..."); Properties ssl_props = new Properties(); ssl_props.load(new FileInputStream(ssl_props_location + "/ssl.properties")); System.out.println("Loading keystoreimport.properties..."); Properties import_props = new Properties(); import_props.load(new FileInputStream(ssl_props_location + "/keystoreimport.properties")); KeyStore ks = KeyStore.getInstance(((String)ssl_props.get("ssl.keystore.format"))); System.out.println("Initializing the new keystore..."); ks.load(null, null); char[] pwd = ((String)ssl_props.get("ssl.keystore.passphrase")).toCharArray(); char[] kpwd = ((String)ssl_props.get("ssl.signedcert.passphrase")).toCharArray(); CertificateFactory cf = CertificateFactory.getInstance(((String)import_props.get("cert.type"))); System.out.println("Creating cert chain..."); /* * This class assumes a two link cert chain... if your cert chain is long then * make the cert array longer and load as many certs as required. */ InputStream inStream = new FileInputStream(((String)import_props.get("cert1.filename"))); java.security.cert.Certificate cert[] = new java.security.cert.Certificate[2]; cert[0] = cf.generateCertificate( inStream ); inStream.close(); /* * Insert more links in the cert chain here.... * (if enough people need this util, then we'll make it read as many certs * as are defined in the keystoreimport.properties file - dm) */ /* * The cert chain should always end with the CA cert. */ inStream = new FileInputStream(((String)import_props.get("cacert.filename"))); cert[1] = cf.generateCertificate( inStream ); inStream.close(); System.out.println("Adding the CA cert to the keystore..."); ks.setCertificateEntry(((String)ssl_props.get("ssl.cacert.alias")), cert[1]); System.out.println("Generating the RSA Private Key with the loaded parameters..."); BigInteger modulus = new BigInteger( ((String)import_props.get("rsaprivkey.modulus")), Integer.parseInt(((String)import_props.get("rsaprivkey.modulus.radix"))) ); BigInteger publicExponent = new BigInteger(((String)import_props.get("rsaprivkey.publicExponent")), Integer.parseInt(((String)import_props.get("rsaprivkey.publicExponent.radix"))) ); BigInteger privateExponent = new BigInteger(((String)import_props.get("rsaprivkey.privateExponent")), Integer.parseInt(((String)import_props.get("rsaprivkey.privateExponent.radix"))) ); BigInteger prime1 = new BigInteger( ((String)import_props.get("rsaprivkey.prime1")), Integer.parseInt(((String)import_props.get("rsaprivkey.prime1.radix"))) ); BigInteger prime2 = new BigInteger( ((String)import_props.get("rsaprivkey.prime2")), Integer.parseInt(((String)import_props.get("rsaprivkey.prime2.radix"))) ); BigInteger exponent1 = new BigInteger( ((String)import_props.get("rsaprivkey.exponent1")), Integer.parseInt(((String)import_props.get("rsaprivkey.exponent1.radix"))) ); BigInteger exponent2 = new BigInteger( ((String)import_props.get("rsaprivkey.exponent2")), Integer.parseInt(((String)import_props.get("rsaprivkey.exponent2.radix"))) ); BigInteger coefficient = new BigInteger( ((String)import_props.get("rsaprivkey.coefficient")), Integer.parseInt(((String)import_props.get("rsaprivkey.coefficient.radix"))) ); RSAPrivCrtKey rpck = new RSAPrivCrtKey(modulus, privateExponent, publicExponent, prime1, prime2, exponent1, exponent2, coefficient); System.out.println("Setting the key entry in the keystore with the cert chain..."); ks.setKeyEntry(((String)ssl_props.get("ssl.signedcert.alias")), rpck, kpwd, cert); System.out.println("Saving the keystore to ["+((String)ssl_props.get("ssl.keystore.file"))+"]"); FileOutputStream store = new FileOutputStream(((String)ssl_props.get("ssl.keystore.file"))); ks.store(store, pwd); store.close(); System.out.println("All done."); } catch (Exception e) { System.out.println("Exception: " + e); e.printStackTrace(); } } } --- NEW FILE: README.TXT --- This file contains a bunch of tips and tricks collected in the SF epp-rtk community.... feel free to contribute to this list... Creating a JSSE keystore with OpenSSL ===================================== [ thanks to wessorh for this tip ] To create a keystore, readable by the JSSE, that contains a registrar's current certs used with NSI do the following on your favorite unix box with openSSL 0.9.6a installed. example% cat client-key.pem client-cert.pem ca-cert.pem | openssl pkcs12 \ -export -out keystore.pkcs12 -noiter -nomaciter -name my_cert_name the keystore.pkcs12 can be read by any java based keytool, dont forget the -storetype pkcs12 option... Creating a JSSE keystore with KeyStoreImport ============================================ [ tip provided by tubadanm ] It's a bit more complicated than the OpenSSL-only tip above... I've tested this procedure with an RSA private key, it's public cert and it's CA cert. The KeyStoreImport Java source is included in this directory. You will need the CDC JCE provider installed for this to work. You can get the CDC at http://www.informatik.tu-darmstadt.de/TI/Forschung/cdcProvider/overview.html The code.jar and cdc_standard.jar files should be all that you need. Edit the ssl.properties to have the values you want. Then edit the keystoreimport.properties file to contain the file names of the cert and the cacert (can be either PEM or DER formats) and their type. I haven't tested this with any other type than "x509". Also the class is written to only load a two-cert chain. You would have to edit the KeyStoreImport.java code to load more and add the certs to the properties files. The use OpenSSL rsa command (eg. openssl rsa -inform PEM|DER -in key_file -text ) to view the details of your RSA private key (use PEM or DER depending on the file format). The output of the command should show you, in HEX, the public modulus, private and public exponents, primes 1 and 2, exponents 1 and 2 and the coefficient of the RSA private key. Take those numbers (be sure to strip out the ':' out of the hex numbers) and put them into keystore.import.properties with the appropriate property names. Most of the radices should stay at 16. For my testing, the public exponent was shown in radix 10. Be sure that each long hex number has no spaces or line breaks in them. (Yes, this step is a PITA, but you should only have to do this once a year.) Now, with this setup, run this command (this assumes that the JSSE and CDC JCE jars are in $JAVA_HOME/jre/lib/ext, which automagically puts then in your classpath): java -Dssl.props.location=$RTK_HOME/java/ssl -classpath . KeyStoreImport (or for Windows) java -Dssl.props.location=%RTK_HOME%/java/ssl -classpath . KeyStoreImport This should generate the keystore in the file specified in ssl.properties. This has worked for me personally, but there are probably many variations of certs, cert chains and keys out there so join epp-rtk-devel if you need help or if you want to share your SSL horror stories and successes with us. ========================== If none of these tip work for you, please join the epp-rtk-devel list on Sourceforge and send your problem there. Chances are that one of use has seen the problem before. --- NEW FILE: RTKsigned.cert --- 0þ0¼;g0*HÎ8 tucows1 0Uoxrs10U Tucows-CA0 010524050439Z 010822050439Z0e10 UCA10UOntario10UToronto10 U tucows1 0Uoxrs10U developer0·0,*HÎ80 zÃÏêÚÊm~õù´0*HÎ8 --- NEW FILE: ServerStore --- þíþí tucows1 0Uoxrs10U Tucows-CA0 010524050021Z 010822050021Z0e10 UCA10UOntario10UToronto10 U tucows1 0Uoxrs10U Tucows-CA0·0,*HÎ80 ëÞºçv ð=jjf ÷E²õH>t8õ=nÛK*ólüv/su=]éeÀ,m²\+T=°¬iðUÛG§ÆÑlíg¨Ôcn¶MZ0*HÎ8 +* Áú×x ÿòG5 4jJ Ç@8øô3+,ßÁÈ×ó©µÃý4ÆßùçÑÅUD$BÍüÈmê \ÐnÈÙkvr´4 ¼°"·}èÂ4ËÕhéþäÝ{°ô®8icÊáóQº¾P°¹B^ê÷²¡;Äø7$ð1ØãËÚ'ÛÜq»[Ï'ÐîB¿»?>Xat¼¹xäbNQgcp¾àjÞÅÂì¹ä®PgÅòò+.ÿ¼±iß,nL?OÚ tucows1 0Uoxrs10U Tucows-CA0 010524050439Z 010822050439Z0e10 UCA10UOntario10UToronto10 U tucows1 0Uoxrs10U developer0·0,*HÎ80 zÃÏêÚÊm~õù´0*HÎ8 tucows1 0Uoxrs10U Tucows-CA0 010524050021Z 010822050021Z0e10 UCA10UOntario10UToronto10 U tucows1 0Uoxrs10U Tucows-CA0·0,*HÎ80 ëÞºçv ð=jjf ÷E²õH>t8õ=nÛK*ólüv/su=]éeÀ,m²\+T=°¬iðUÛG§ÆÑlíg¨Ôcn¶MZ0*HÎ8 --- NEW FILE: Servercert.crt --- 0þ0¼;g0*HÎ8 tucows1 0Uoxrs10U developer0 010524050439Z 010822050439Z0e10 UCA10UOntario10UToronto10 U tucows1 0Uoxrs10U developer0·0,*HÎ80 zÃÏêÚÊm~õù´0*HÎ8 IUøj --- NEW FILE: Sign.java --- import java.io.*; import java.security.*; import sun.security.x509.*; import sun.security.util.*; class Sign { public static void main(String arg[]) { try { FileInputStream fisk = new FileInputStream("CAStore"); KeyStore ks = KeyStore.getInstance("JKS", "SUN"); String storepass = "CertAuth"; char[] pwd = new char[storepass.length()]; for (int i = 0; i < pwd.length; i++) pwd[i] = storepass.charAt(i); String keypass = "openxrs"; char[] kpwd = new char[keypass.length()]; for (int i = 0; i < kpwd.length; i++) kpwd[i] = keypass.charAt(i); ks.load(fisk, pwd); PrivateKey priv = (PrivateKey)ks.getKey("CAKey", kpwd); X509Cert certs = new X509Cert(); certs.decode(new FileInputStream("CAcert.crt")); AlgorithmId SHAalg = new AlgorithmId(AlgorithmId.DSA_oid); X500Signer CA = certs.getSigner(SHAalg, priv); FileInputStream bis = new FileInputStream("Servercert.crt"); X509Cert srvrCert = new X509Cert(); srvrCert.decode(bis); BigInt i = srvrCert.getSerialNumber(); byte[] signedcert = srvrCert.encodeAndSign(i, CA); FileOutputStream certfos = new FileOutputStream("signedcert.crt"); certfos.write(signedcert); certfos.close(); } catch (Exception e) { System.out.println("Exception: " + e); } } } --- NEW FILE: keystoreimport.properties --- cert.type=x509 cert1.filename=cert1filename # Fill in as many certs as is required for the full cert chain # then edit the KeyStoreImport.java file (and recompile) to load these certs #cert2.filename=cert2filename #cert3.filename=cert3filename cacert.filename=cacertfilename # Get these numeric values from openssl -rsa -inform PEM|DER -in rsaprivekeyfile -text rsaprivkey.modulus=**big-hex-number** rsaprivkey.modulus.radix=16 rsaprivkey.publicExponent=**medium-sized-number** rsaprivkey.publicExponent.radix=10 rsaprivkey.privateExponent=**big-hex-number** rsaprivkey.privateExponent.radix=16 rsaprivkey.prime1=**big-hex-number** rsaprivkey.prime1.radix=16 rsaprivkey.prime2=**big-hex-number** rsaprivkey.prime2.radix=16 rsaprivkey.exponent1=**big-hex-number** rsaprivkey.exponent1.radix=16 rsaprivkey.exponent2=**big-hex-number** rsaprivkey.exponent2.radix=16 rsaprivkey.coefficient=**big-hex-number** rsaprivkey.coefficient.radix=16 --- NEW FILE: signedcert.crt --- 0þ0¼;g0*HÎ8 tucows1 0Uoxrs10U Tucows-CA0 010524050439Z 010822050439Z0e10 UCA10UOntario10UToronto10 U tucows1 0Uoxrs10U developer0·0,*HÎ80 zÃÏêÚÊm~õù´0*HÎ8 --- NEW FILE: ssl.properties --- ssl.protocol=TLS ssl.keymanagerfactory.format=SunX509 ssl.keystore.format=JKS ssl.keystore.file=ServerStore ssl.keystore.passphrase=Server ssl.cacert.alias=cacert ssl.signedcert.alias=signedcert ssl.signedcert.passphrase=openxrs |
From: Daniel M. <tub...@us...> - 2003-09-09 03:27:32
|
Update of /cvsroot/epp-rtk/epp-rtk/java/ssl/old-ssl In directory sc8-pr-cvs1:/tmp/cvs-serv7158/old-ssl Removed Files: Tag: epp-pre02 CAStore CAcert.crt KeyStoreImport.class KeyStoreImport.java README.TXT RTKsigned.cert ServerStore Servercert.crt Sign.java keystoreimport.properties signedcert.crt ssl.properties Log Message: clearing out the old and new stuff so I can put the new stuff back --- CAStore DELETED --- --- CAcert.crt DELETED --- --- KeyStoreImport.class DELETED --- --- KeyStoreImport.java DELETED --- --- README.TXT DELETED --- --- RTKsigned.cert DELETED --- --- ServerStore DELETED --- --- Servercert.crt DELETED --- --- Sign.java DELETED --- --- keystoreimport.properties DELETED --- --- signedcert.crt DELETED --- --- ssl.properties DELETED --- |
From: Daniel M. <tub...@us...> - 2003-09-09 03:26:05
|
Update of /cvsroot/epp-rtk/epp-rtk/java/ssl In directory sc8-pr-cvs1:/tmp/cvs-serv10738 Added Files: Tag: epp-pre02 KeyStoreImport.java README.TXT keystoreimport.properties ssl.properties Log Message: cleaned up the ssl directory from the old base |
From: Daniel M. <tub...@us...> - 2003-09-09 03:11:09
|
Update of /cvsroot/epp-rtk/epp-rtk/java/ssl In directory sc8-pr-cvs1:/tmp/cvs-serv7158 Removed Files: Tag: epp-pre02 README.TXT cert.pem epp_rtk_keystore.sh epp_rtk_keystore_info.sh key.pem ssl.properties Log Message: clearing out the old and new stuff so I can put the new stuff back --- README.TXT DELETED --- --- cert.pem DELETED --- --- epp_rtk_keystore.sh DELETED --- --- epp_rtk_keystore_info.sh DELETED --- --- key.pem DELETED --- --- ssl.properties DELETED --- |
From: Daniel M. <tub...@us...> - 2003-09-09 00:48:37
|
Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp02/rtk In directory sc8-pr-cvs1:/tmp/cvs-serv30717/src/com/tucows/oxrs/epp02/rtk Modified Files: EPPClient.java Log Message: added usage of ssl.keystore.provider property (backport from epp0705) Index: EPPClient.java =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp02/rtk/EPPClient.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** EPPClient.java 21 Mar 2003 17:13:40 -0000 1.1 --- EPPClient.java 8 Sep 2003 16:19:46 -0000 1.2 *************** *** 417,421 **** if ( ks_ == null ) { ! ks_ = KeyStore.getInstance(((String)ssl_props.get("ssl.keystore.format"))); ks_.load(new FileInputStream(ssl_props_location + "/" + ((String)ssl_props.get("ssl.keystore.file"))), passphrase1); --- 417,428 ---- if ( ks_ == null ) { ! if ( ssl_props.get("ssl.keystore.provider") == null ) ! { ! ks_ = KeyStore.getInstance((String)ssl_props.get("ssl.keystore.format")); ! } ! else ! { ! ks_ = KeyStore.getInstance((String)ssl_props.get("ssl.keystore.format"), (String)ssl_props.get("ssl.keystore.provider")); ! } ks_.load(new FileInputStream(ssl_props_location + "/" + ((String)ssl_props.get("ssl.keystore.file"))), passphrase1); |
Update of /cvsroot/epp-rtk/epp-rtk/java/ssl In directory sc8-pr-cvs1:/tmp/cvs-serv18423 Added Files: Tag: epp-pre02 README.TXT cert.pem epp_rtk_keystore.p12 epp_rtk_keystore.sh epp_rtk_keystore_info.sh key.pem ssl.properties Removed Files: Tag: epp-pre02 CAStore CAcert.crt KeyStoreImport.class KeyStoreImport.java RTKsigned.cert ServerStore Servercert.crt Sign.java keystoreimport.properties signedcert.crt Log Message: 'upgrading' the ssl directory from the old stuff to the new stuff from epp0705 --- NEW FILE: cert.pem --- Certificate: Data: Version: 3 (0x2) Serial Number: 0 (0x0) Signature Algorithm: md5WithRSAEncryption Issuer: C=CA, ST=Ontario, L=Toronto, O=LibertyRMS CO., OU=lrms, CN=localhost Validity Not Before: Aug 21 20:31:12 2002 GMT Not After : Aug 18 20:31:12 2012 GMT Subject: C=CA, ST=Ontario, L=Toronto, O=LibertyRMS CO., OU=lrms, CN=localhost Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public Key: (1024 bit) Modulus (1024 bit): 00:c1:7d:37:67:18:5d:ab:08:fe:62:6a:5d:e2:10: 6e:38:19:ed:98:60:53:5c:e7:80:60:1c:1c:25:df: 22:fe:cf:67:00:f1:1b:6c:68:df:be:da:2e:3c:81: df:60:d9:58:a3:d4:ee:ce:b0:cd:71:00:3b:b3:68: 5f:7f:4e:47:d5:fd:2e:11:f0:67:f0:68:f1:2e:80: e9:34:54:0f:49:67:ae:42:9e:29:db:02:92:78:76: f1:39:d6:b8:ac:3d:7a:87:17:59:cd:c0:20:fb:be: 1e:3e:0b:4a:6c:43:6f:34:d1:24:a7:62:d6:9d:18: 99:a0:aa:d9:b1:34:af:24:55 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: F3:F1:6D:A7:95:AC:A8:9D:3D:8E:29:6D:0B:15:AC:AA:91:CF:A1:30 X509v3 Authority Key Identifier: keyid:F3:F1:6D:A7:95:AC:A8:9D:3D:8E:29:6D:0B:15:AC:AA:91:CF:A1:30 DirName:/C=CA/ST=Ontario/L=Toronto/O=LibertyRMS CO./OU=lrms/CN=localhost serial:00 X509v3 Basic Constraints: CA:TRUE Signature Algorithm: md5WithRSAEncryption ba:d8:3a:4b:58:a5:47:04:97:b1:e1:47:7a:66:04:97:fb:33: 9f:ac:f7:f6:31:94:ce:00:9f:96:42:6c:b4:7b:53:50:da:66: 1b:34:46:fd:48:fc:d0:e6:77:fe:b1:44:08:45:5a:83:ff:47: 63:2e:bd:da:4f:f8:cf:4f:a1:bd:8f:70:dc:38:71:92:d2:b9: 09:bf:a1:d2:b7:ca:77:5b:4a:63:3b:44:fb:3d:fe:1c:24:b3: 1f:a4:f8:dd:66:d1:6e:1a:95:b1:c9:a4:ac:17:d2:86:92:c0: 6e:f6:cd:7b:fe:aa:bd:a1:5f:29:c6:33:7a:41:52:8e:14:a5: 0f:09 -----BEGIN CERTIFICATE----- MIIDGzCCAoSgAwIBAgIBADANBgkqhkiG9w0BAQQFADBtMQswCQYDVQQGEwJDQTEQ MA4GA1UECBMHT250YXJpbzEQMA4GA1UEBxMHVG9yb250bzEXMBUGA1UEChMOTGli ZXJ0eVJNUyBDTy4xDTALBgNVBAsTBGxybXMxEjAQBgNVBAMTCWxvY2FsaG9zdDAe Fw0wMjA4MjEyMDMxMTJaFw0xMjA4MTgyMDMxMTJaMG0xCzAJBgNVBAYTAkNBMRAw DgYDVQQIEwdPbnRhcmlvMRAwDgYDVQQHEwdUb3JvbnRvMRcwFQYDVQQKEw5MaWJl cnR5Uk1TIENPLjENMAsGA1UECxMEbHJtczESMBAGA1UEAxMJbG9jYWxob3N0MIGf MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBfTdnGF2rCP5ial3iEG44Ge2YYFNc 54BgHBwl3yL+z2cA8RtsaN++2i48gd9g2Vij1O7OsM1xADuzaF9/TkfV/S4R8Gfw aPEugOk0VA9JZ65CninbApJ4dvE51risPXqHF1nNwCD7vh4+C0psQ2800SSnYtad GJmgqtmxNK8kVQIDAQABo4HKMIHHMB0GA1UdDgQWBBTz8W2nlayonT2OKW0LFayq kc+hMDCBlwYDVR0jBIGPMIGMgBTz8W2nlayonT2OKW0LFayqkc+hMKFxpG8wbTEL MAkGA1UEBhMCQ0ExEDAOBgNVBAgTB09udGFyaW8xEDAOBgNVBAcTB1Rvcm9udG8x FzAVBgNVBAoTDkxpYmVydHlSTVMgQ08uMQ0wCwYDVQQLEwRscm1zMRIwEAYDVQQD Ewlsb2NhbGhvc3SCAQAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQQFAAOBgQC6 2DpLWKVHBJex4Ud6ZgSX+zOfrPf2MZTOAJ+WQmy0e1NQ2mYbNEb9SPzQ5nf+sUQI RVqD/0djLr3aT/jPT6G9j3DcOHGS0rkJv6HSt8p3W0pjO0T7Pf4cJLMfpPjdZtFu GpWxyaSsF9KGksBu9s17/qq9oV8pxjN6QVKOFKUPCQ== -----END CERTIFICATE----- --- NEW FILE: epp_rtk_keystore.p12 --- 00× *H÷ ÈÄ0À0¿ *H÷ °0¬ *H÷ 0baP%Ù´ kÕMÐgpEóÞN{å¥òxÆëqs»ßïBîyÔf÷ Í#¡ Â~Ê^{ÑPÂiK(s:øõ4̼©Ï¹<gÄ Ú ikjݵUZÁãâr¡¹¢ô%¢Þ,t¢Òô~ y~°KÚe%=Я(c'oßó 6ÕSMÚÀoÚ];òCã2m¡ü÷Ðè&¡kÉX zñ±þ_ÈYG¨AÃ=õT 4óàÈewþkðÉ'3¼Ø<ÃôIpÚÒ³&©½ Oj½é\ÁÆ3ü"¿¨%ý¦øN¤RÒG ÊãA^ bk`ø®¤q¶j<6Ûõí= ÈúYlÌH[dE¨AJ@§LOõ¯¥Ú5ԼơÇ!}²·R| /wúm³WbæÈÑDOa·B'4¶ïr^ýX&9gæì)¡=¤--S¨aR>¹ 24`«Ðè}¿ÏÆÿi)ú¼(w>ÑGæ¦&@¢ÆWhò¦1ïYðw å¸ ä·Q̨:îþÖÓ}CþÔ/º»/óâ)sn½ô0Àëí]e¬gå *´$´¶¤yg¾7Åêð¢j©SÇÛ³ëÑ<¿uU"plþâ·ÝÔÁ(yFtädQ<'óQáGì2}»«À¯ý{ñ)þ±±{rí:û/êôõ1b On§$¤Ëk¢n> ³³/&"U®-ãæ+øû˸ÝÝÿcJ-L)ïÅ*¶H.KúÌ5A&YKY@Pï0ù *H÷ êæ0â0Þ*H÷ ¦0¢0 *H÷ 0tMØ×û Ë ¦!Z^îIÌkþv?dõè×xi'u£[j¢ö®4¥Ý¨³^,;¥Ñ5ìHÖÇpYöÐykq&ðÐ8ÁçØº@ð 8´NëÀ{&ìPç¼{s'4æðÅSònÇòZSc^m±#¥+dâ±á¾¨ÖoäTCÓC Ýc6C¹(Ûu¸Ò¼]Ú5bxÌ¿ðíU; Få6åë4§>231ÔK¾3þ_K@DAÖyõã-58Ã(ÙYú*¼û`õe\htV`Çô¤_-éln¡<ÕYÉ¿âezz® --- NEW FILE: epp_rtk_keystore.sh --- #!/bin/bash if [ "$1" = "" ]; then KEY_PEM=key.pem else KEY_PEM=$1 fi if [ "$2" = "" ]; then CERT_PEM=cert.pem else CERT_PEM=$2 fi if [ "$3" = "" ]; then CA_CERT_PEM= else CA_CERT_PEM=$3 fi if [ "$4" = "" ]; then CHAIN_CERT_PEM= else CHAIN_CERT_PEM=$4 fi if [ ! -f "$KEY_PEM" ]; then echo "ERR: key PEM file not found: $KEY_PEM" exit 1 fi if [ ! -f "$CERT_PEM" ]; then echo "ERR: cert PEM file not found: $CERT_PEM" exit 1 fi if [ "$CA_CERT_PEM" != "" -a ! -f "$CA_CERT_PEM" ]; then echo "ERR: cacert PEM file not found: $CA_CERT_PEM" exit 1 fi if [ "$CHAIN_CERT_PEM" != "" -a ! -f "$CHAIN_CERT_PEM" ]; then echo "ERR: chaincert PEM file not found: $CHAIN_CERT_PEM" exit 1 fi cat $KEY_PEM $CERT_PEM $CHAIN_CERT_PEM $CA_CERT_PEM | openssl pkcs12 -export -out epp_rtk_keystore.p12 #openssl pkcs12 -export -out epp_rtk_keystore.p12 -inkey key.pem -in cert.pem -name "mycert" -caname "mycacert" #openssl pkcs12 -info -in epp_rtk_keystore.p12 --- NEW FILE: epp_rtk_keystore_info.sh --- #!/bin/bash openssl pkcs12 -info -in epp_rtk_keystore.p12 --- NEW FILE: key.pem --- -----BEGIN RSA PRIVATE KEY----- MIICXAIBAAKBgQDBfTdnGF2rCP5ial3iEG44Ge2YYFNc54BgHBwl3yL+z2cA8Rts aN++2i48gd9g2Vij1O7OsM1xADuzaF9/TkfV/S4R8GfwaPEugOk0VA9JZ65Cninb ApJ4dvE51risPXqHF1nNwCD7vh4+C0psQ2800SSnYtadGJmgqtmxNK8kVQIDAQAB AoGBAI1Wq57alKm4kyJO8q+NMwY2InIZgyutTABo6ELd4ZFi7aopdc/WOAMRG49F i2gSvIZIp/1B94BhHDsstf2nsB6hVeHqDgnJbbl8cdnEAwlT5L0NWi8MgE8V+SHV 8O+wuzgXAkpHHx+fM2ql5f99g+8VPV/Or4SRpw+x37rDAb2tAkEA8jtRrfVB/4Ez 5YKzJJAn8ETkU3rjGTUPJUtq76kZN5ZK700txeiU3+KU0n9cPbmK8GaWrgHA5PqA J2fZJ0iPPwJBAMx8ponbxrVU3MBKd3bsidQKUo2zw1DATfnK8TCzxU1Dzl8VZKvx FXYueZW1JYLWo2gRl7mA4cc1bqKaKnl4e2sCQGgF8V2zJVSEN7UoG6ZoAb681xDC hSQeFRL/AD1LcPjeIfACRNXou4Yp159N8l7Pf0sdwzeWqS+sI7zIbAjisCECQDeS AGgic8O/hiYzlneZHHOlQn4DxiZhvE8P2a/Uit/Od3zbgXpAkAaH5r7KdaEy10Fm 1oaxAapzWNeTccuE9HUCQEZhRpCmOmy5ORrpuucc2+esDsPr0ezy3231/h9RCtqP l/AbOsBPTTEqfDtoc4pwBB+snNQOfwsklSqO0AIvBNw= -----END RSA PRIVATE KEY----- --- CAStore DELETED --- --- CAcert.crt DELETED --- --- KeyStoreImport.class DELETED --- --- KeyStoreImport.java DELETED --- --- RTKsigned.cert DELETED --- --- ServerStore DELETED --- --- Servercert.crt DELETED --- --- Sign.java DELETED --- --- keystoreimport.properties DELETED --- --- signedcert.crt DELETED --- |
From: Daniel M. <tub...@us...> - 2003-09-08 23:56:33
|
Update of /cvsroot/epp-rtk/epp-rtk/java/ssl In directory sc8-pr-cvs1:/tmp/cvs-serv19890 Removed Files: Tag: epp-pre02 epp_rtk_keystore.p12 Log Message: have to re-add the file with -kb to fix data problem --- epp_rtk_keystore.p12 DELETED --- |
From: Daniel M. <tub...@us...> - 2003-09-08 22:25:53
|
Update of /cvsroot/epp-rtk/epp-rtk/java/lib In directory sc8-pr-cvs1:/tmp/cvs-serv13142/lib Modified Files: Tag: epp-pre02 README.TXT xerces.jar Added Files: Tag: epp-pre02 xerces-1.3.0.jar Log Message: added upgraded version of xerces (1.4.1) and renamed the original to 1.3.0 --- NEW FILE: xerces-1.3.0.jar --- PK Created-By: 1.3.0 (Sun Microsystems Inc.) PK PK SourceFile [...16717 lines suppressed...] Index: README.TXT =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/lib/README.TXT,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** README.TXT 11 May 2001 22:12:27 -0000 1.2 --- README.TXT 8 Sep 2003 21:20:00 -0000 1.2.2.1 *************** *** 7,15 **** ============= ! Included are the Ant and Xerces Jar files required to build the EPP ! RTK Java. ! Please see the LICENSE files regarding the licensing of these two products. The version of Ant included here is 1.3. ! The version of Xerces included here is 1.3.0. --- 7,19 ---- ============= ! Included are the Ant, and Xerces Jar files required ! to build and run the Java EPP RTK. ! Please see the LICENSE files regarding the licensing of these products. The version of Ant included here is 1.3. ! Two versions of Xerces are included here: xerces.jar is 1.4.1, ! xerces-1.3.0.jar is included for registrars who have a dependency ! on this version (though 1.3.0 does have know problems in XML ! rendering -- it is strongly recommended to use 1.4.1). ! Index: xerces.jar =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/lib/xerces.jar,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -C2 -d -r1.4 -r1.4.2.1 Binary files /tmp/cvsKhpnBM and /tmp/cvs4U6YWM differ |
From: Daniel M. <tub...@us...> - 2003-09-04 21:37:02
|
Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp/rtk/xml In directory sc8-pr-cvs1:/tmp/cvs-serv9465/src/com/tucows/oxrs/epp/rtk/xml Modified Files: Tag: epp-pre02 EPPXMLBase.java Log Message: created create xml snippet method to make it easier to create unspec xml strings Index: EPPXMLBase.java =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp/rtk/xml/Attic/EPPXMLBase.java,v retrieving revision 1.10.2.3 retrieving revision 1.10.2.4 diff -C2 -d -r1.10.2.3 -r1.10.2.4 *** EPPXMLBase.java 22 Jul 2001 20:43:15 -0000 1.10.2.3 --- EPPXMLBase.java 4 Sep 2003 21:36:58 -0000 1.10.2.4 *************** *** 394,397 **** --- 394,424 ---- /** + * Given a Document with all of its children elements appended, converts + * this document to an XML Snippet. + * The difference between this and createXMLFromDoc() is that the XML + * headers are not included. + * @param Document the complete XML Document + * @return String the XML String + * @throws java.io.IOException + */ + protected String createXMLSnippetFromDoc(Document doc) throws IOException + { + String method_name = "createXMLSnippetFromDoc()"; + debug(DEBUG_LEVEL_THREE,method_name,"Entered"); + + OutputFormat format = new OutputFormat( doc ); + format.setOmitDocumentType(true); + format.setOmitXMLDeclaration(true); + StringWriter stringOut = new StringWriter(); + XMLSerializer serial = new XMLSerializer( stringOut, format ); + + serial.asDOMSerializer(); + serial.serialize( doc.getDocumentElement() ); + + debug(DEBUG_LEVEL_THREE,method_name,"Leaving"); + return stringOut.toString(); + } + + /** * Creates an Element for the given tag name and appends it to the given * containing Element. |
From: Daniel M. <tub...@us...> - 2003-09-04 21:36:15
|
Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp02/rtk/xml In directory sc8-pr-cvs1:/tmp/cvs-serv9345/src/com/tucows/oxrs/epp02/rtk/xml Modified Files: EPPXMLBase.java Log Message: added create xml snippet method to make it easier to create unspec xml extensions Index: EPPXMLBase.java =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp02/rtk/xml/EPPXMLBase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** EPPXMLBase.java 21 Mar 2003 17:13:43 -0000 1.1 --- EPPXMLBase.java 4 Sep 2003 21:36:08 -0000 1.2 *************** *** 394,397 **** --- 394,424 ---- /** + * Given a Document with all of its children elements appended, converts + * this document to an XML Snippet. + * The difference between this and createXMLFromDoc() is that the XML + * headers are not included. + * @param Document the complete XML Document + * @return String the XML String + * @throws java.io.IOException + */ + protected String createXMLSnippetFromDoc(Document doc) throws IOException + { + String method_name = "createXMLSnippetFromDoc()"; + debug(DEBUG_LEVEL_THREE,method_name,"Entered"); + + OutputFormat format = new OutputFormat( doc ); + format.setOmitDocumentType(true); + format.setOmitXMLDeclaration(true); + StringWriter stringOut = new StringWriter(); + XMLSerializer serial = new XMLSerializer( stringOut, format ); + + serial.asDOMSerializer(); + serial.serialize( doc.getDocumentElement() ); + + debug(DEBUG_LEVEL_THREE,method_name,"Leaving"); + return stringOut.toString(); + } + + /** * Creates an Element for the given tag name and appends it to the given * containing Element. |
From: Daniel M. <tub...@us...> - 2003-09-02 21:37:33
|
Update of /cvsroot/epp-rtk/epp-rtk/java In directory sc8-pr-cvs1:/tmp/cvs-serv17416 Modified Files: VERSION.TXT Log Message: added notes for release 0.7.3 Index: VERSION.TXT =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/VERSION.TXT,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** VERSION.TXT 5 May 2003 15:10:43 -0000 1.25 --- VERSION.TXT 2 Sep 2003 21:37:28 -0000 1.26 *************** *** 5,8 **** --- 5,20 ---- ====================== + epp-rtk-java-0.7.3 - Sept 2, 2003 + + + Fixed pattern string for UTC simple date formats. Was + using "hh" for hours, but this only accepts 1-12. "HH" + accepts 0-23. + + Added null check for the children of value nodes. + Received reports of NPE's when parsing some responses + from the .cn registry. + + Changed epp02,epp0402,epp0503,epp0604 to get a named + log4j logger and not the root loggers. epp0705 + was already doing this. + epp-rtk-java-0.7.2 - May 5, 2003 |
From: Daniel M. <tub...@us...> - 2003-09-02 21:35:05
|
Update of /cvsroot/epp-rtk/epp-rtk/java/doc/0503 In directory sc8-pr-cvs1:/tmp/cvs-serv16582/doc/0503 Modified Files: epp-rtk-user-guide.html Log Message: updated the release number and date on the user docs Index: epp-rtk-user-guide.html =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/doc/0503/epp-rtk-user-guide.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** epp-rtk-user-guide.html 21 Mar 2003 16:20:50 -0000 1.1 --- epp-rtk-user-guide.html 2 Sep 2003 21:34:26 -0000 1.2 *************** *** 14,21 **** User Guide</center></font></H1> ! <h3><center>Version 0.5.0</center></h3> ! <h3><center>March 18, 2002</center></h3> ! <h2><center>Created by: Tucows Inc.</center></h2> <hr> --- 14,21 ---- User Guide</center></font></H1> ! <h3><center>Version 0.7.3</center></h3> ! <h3><center>Sept 2, 2003</center></h3> ! <h2><center>Created by: LibertyRMS Inc.</center></h2> <hr> |
From: Daniel M. <tub...@us...> - 2003-09-02 21:35:05
|
Update of /cvsroot/epp-rtk/epp-rtk/java/doc/0402 In directory sc8-pr-cvs1:/tmp/cvs-serv16582/doc/0402 Modified Files: epp-rtk-user-guide.html Log Message: updated the release number and date on the user docs Index: epp-rtk-user-guide.html =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/doc/0402/epp-rtk-user-guide.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** epp-rtk-user-guide.html 21 Mar 2003 16:47:18 -0000 1.1 --- epp-rtk-user-guide.html 2 Sep 2003 21:34:26 -0000 1.2 *************** *** 14,21 **** User Guide</center></font></H1> ! <h3><center>Version 0.4.0</center></h3> ! <h3><center>Oct 3, 2001</center></h3> ! <h2><center>Created by: Tucows Inc.</center></h2> <hr> --- 14,21 ---- User Guide</center></font></H1> ! <h3><center>Version 0.7.3</center></h3> ! <h3><center>Sept 2, 2003</center></h3> ! <h2><center>Created by: LibertyRMS Inc.</center></h2> <hr> |
From: Daniel M. <tub...@us...> - 2003-09-02 21:35:01
|
Update of /cvsroot/epp-rtk/epp-rtk/java/doc/02 In directory sc8-pr-cvs1:/tmp/cvs-serv16582/doc/02 Modified Files: epp-rtk-user-guide.html Log Message: updated the release number and date on the user docs Index: epp-rtk-user-guide.html =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/doc/02/epp-rtk-user-guide.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** epp-rtk-user-guide.html 21 Mar 2003 17:14:41 -0000 1.1 --- epp-rtk-user-guide.html 2 Sep 2003 21:34:26 -0000 1.2 *************** *** 14,21 **** User Guide</center></font></H1> ! <h3><center>Version 0.3.8</center></h3> ! <h3><center>July 27, 2001</center></h3> ! <h2><center>Created by: Tucows Inc.</center></h2> <hr> --- 14,21 ---- User Guide</center></font></H1> ! <h3><center>Version 0.7.3</center></h3> ! <h3><center>Sept 2, 2003</center></h3> ! <h2><center>Created by: LibertyRMS Inc.</center></h2> <hr> |
From: Daniel M. <tub...@us...> - 2003-09-02 21:34:32
|
Update of /cvsroot/epp-rtk/epp-rtk/java/doc/0705 In directory sc8-pr-cvs1:/tmp/cvs-serv16582/doc/0705 Modified Files: epp-rtk-user-guide.html Log Message: updated the release number and date on the user docs Index: epp-rtk-user-guide.html =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/doc/0705/epp-rtk-user-guide.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** epp-rtk-user-guide.html 5 May 2003 15:10:21 -0000 1.4 --- epp-rtk-user-guide.html 2 Sep 2003 21:34:27 -0000 1.5 *************** *** 14,19 **** User Guide</center></font></H1> ! <h3><center>Version 0.7.2</center></h3> ! <h3><center>May 5, 2003</center></h3> <h2><center>Created by: LibertyRMS Inc.</center></h2> --- 14,19 ---- User Guide</center></font></H1> ! <h3><center>Version 0.7.3</center></h3> ! <h3><center>Sept 2, 2003</center></h3> <h2><center>Created by: LibertyRMS Inc.</center></h2> |
From: Daniel M. <tub...@us...> - 2003-09-02 21:34:31
|
Update of /cvsroot/epp-rtk/epp-rtk/java/doc/0604 In directory sc8-pr-cvs1:/tmp/cvs-serv16582/doc/0604 Modified Files: epp-rtk-user-guide.html Log Message: updated the release number and date on the user docs Index: epp-rtk-user-guide.html =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/doc/0604/epp-rtk-user-guide.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** epp-rtk-user-guide.html 21 Mar 2003 15:44:44 -0000 1.1 --- epp-rtk-user-guide.html 2 Sep 2003 21:34:26 -0000 1.2 *************** *** 14,21 **** User Guide</center></font></H1> ! <h3><center>Version 0.5.0</center></h3> ! <h3><center>March 18, 2002</center></h3> ! <h2><center>Created by: Tucows Inc.</center></h2> <hr> --- 14,21 ---- User Guide</center></font></H1> ! <h3><center>Version 0.7.3</center></h3> ! <h3><center>Sept 2, 2003</center></h3> ! <h2><center>Created by: LibertyRMS Inc.</center></h2> <hr> |
From: Daniel M. <tub...@us...> - 2003-09-02 20:48:19
|
Update of /cvsroot/epp-rtk/epp-rtk/java In directory sc8-pr-cvs1:/tmp/cvs-serv6162 Modified Files: Tag: epp-0402 VERSION.TXT Log Message: added release notes regarding recent fixes and enhancements (0.4.4) Index: VERSION.TXT =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/VERSION.TXT,v retrieving revision 1.17.2.3 retrieving revision 1.17.2.4 diff -C2 -d -r1.17.2.3 -r1.17.2.4 *** VERSION.TXT 31 Jul 2002 13:52:42 -0000 1.17.2.3 --- VERSION.TXT 2 Sep 2003 20:48:13 -0000 1.17.2.4 *************** *** 1,3 **** --- 1,4 ---- Copyright (c) 2002 Tucows, Inc. All rights reserved. + Copyright (c) 2003 LibertyRMS, Inc. All rights reserved. Tucows, Inc. *************** *** 6,9 **** --- 7,19 ---- EPP RTK Java Versions ====================== + + epp-rtk-java-0.4.4 - Sept 2, 2003 + + + Fixed pattern string for UTC simple date format. Was + using "hh" for hours, but this only accepts 1-12. "HH" + accepts 0-23. + + Added null check for the children of value nodes. + Received reports of NPE's when parsing some responses + from the .cn registry. epp-rtk-java-0.4.3 - May 3, 2002 |
From: Daniel M. <tub...@us...> - 2003-09-02 20:05:04
|
Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0705/rtk In directory sc8-pr-cvs1:/tmp/cvs-serv29105/src/com/tucows/oxrs/epp0705/rtk Modified Files: RTKBase.java Log Message: enhancement to the parsing of the value nodes in the response -- turns out .cn has changed its response in some way to produce empty value node contents (discovered by Tom@Tucows). also, fixing simple date format for UTC to change hh to HH because the former only handles hours from 1 to 12. and fixed the Loggers to not get the root anymore -- get the named logger instead. Index: RTKBase.java =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0705/rtk/RTKBase.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** RTKBase.java 25 Apr 2003 20:39:38 -0000 1.6 --- RTKBase.java 2 Sep 2003 20:04:57 -0000 1.7 *************** *** 92,96 **** /** ! * DateFormat for "yyyy-MM-dd'T'hh:mm:ss.S'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used --- 92,96 ---- /** ! * DateFormat for "yyyy-MM-dd'T'HH:mm:ss.S'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used *************** *** 98,102 **** * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ss.S'Z'"); /** --- 98,102 ---- * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S'Z'"); /** |
From: Daniel M. <tub...@us...> - 2003-09-02 20:05:04
|
Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0402/rtk/xml In directory sc8-pr-cvs1:/tmp/cvs-serv29105/src/com/tucows/oxrs/epp0402/rtk/xml Modified Files: EPPXMLBase.java Log Message: enhancement to the parsing of the value nodes in the response -- turns out .cn has changed its response in some way to produce empty value node contents (discovered by Tom@Tucows). also, fixing simple date format for UTC to change hh to HH because the former only handles hours from 1 to 12. and fixed the Loggers to not get the root anymore -- get the named logger instead. Index: EPPXMLBase.java =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0402/rtk/xml/EPPXMLBase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** EPPXMLBase.java 21 Mar 2003 16:35:37 -0000 1.1 --- EPPXMLBase.java 2 Sep 2003 20:04:56 -0000 1.2 *************** *** 197,201 **** { Node value_node = value_nodes.item(count2); ! values.add(value_node.getFirstChild().getNodeValue()); } result.m_values = convertListToStringArray(values); --- 197,204 ---- { Node value_node = value_nodes.item(count2); ! if ( value_node.getFirstChild() != null ) ! { ! values.add(value_node.getFirstChild().getNodeValue()); ! } } result.m_values = convertListToStringArray(values); |
From: Daniel M. <tub...@us...> - 2003-09-02 20:05:04
|
Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0503/rtk In directory sc8-pr-cvs1:/tmp/cvs-serv29105/src/com/tucows/oxrs/epp0503/rtk Modified Files: RTKBase.java Log Message: enhancement to the parsing of the value nodes in the response -- turns out .cn has changed its response in some way to produce empty value node contents (discovered by Tom@Tucows). also, fixing simple date format for UTC to change hh to HH because the former only handles hours from 1 to 12. and fixed the Loggers to not get the root anymore -- get the named logger instead. Index: RTKBase.java =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0503/rtk/RTKBase.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RTKBase.java 24 Mar 2003 21:18:02 -0000 1.2 --- RTKBase.java 2 Sep 2003 20:04:56 -0000 1.3 *************** *** 86,90 **** /** ! * DateFormat for "yyyy-MM-dd'T'hh:mm:ss.S'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used --- 86,90 ---- /** ! * DateFormat for "yyyy-MM-dd'T'HH:mm:ss.S'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used *************** *** 92,96 **** * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ss.S'Z'"); /** --- 92,96 ---- * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S'Z'"); /** *************** *** 281,285 **** PropertyConfigurator.configure(getRTKProperties()); ! logger_ = Logger.getRootLogger(); } catch(Exception xcp) --- 281,285 ---- PropertyConfigurator.configure(getRTKProperties()); ! logger_ = Logger.getLogger("epprtk"); } catch(Exception xcp) |
From: Daniel M. <tub...@us...> - 2003-09-02 20:05:03
|
Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp02/rtk In directory sc8-pr-cvs1:/tmp/cvs-serv29105/src/com/tucows/oxrs/epp02/rtk Modified Files: RTKBase.java Log Message: enhancement to the parsing of the value nodes in the response -- turns out .cn has changed its response in some way to produce empty value node contents (discovered by Tom@Tucows). also, fixing simple date format for UTC to change hh to HH because the former only handles hours from 1 to 12. and fixed the Loggers to not get the root anymore -- get the named logger instead. Index: RTKBase.java =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp02/rtk/RTKBase.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RTKBase.java 24 Mar 2003 21:18:00 -0000 1.2 --- RTKBase.java 2 Sep 2003 20:04:56 -0000 1.3 *************** *** 83,87 **** /** ! * DateFormat for "yyyy-MM-dd'T'hh:mm:ss.0'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used --- 83,87 ---- /** ! * DateFormat for "yyyy-MM-dd'T'HH:mm:ss.0'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used *************** *** 89,93 **** * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ss.0'Z'"); /** --- 89,93 ---- * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.0'Z'"); /** *************** *** 235,239 **** PropertyConfigurator.configure(getRTKProperties()); ! logger_ = Logger.getRootLogger(); } catch(Exception xcp) --- 235,239 ---- PropertyConfigurator.configure(getRTKProperties()); ! logger_ = Logger.getLogger("epprtk"); } catch(Exception xcp) |
From: Daniel M. <tub...@us...> - 2003-09-02 20:05:03
|
Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0604/rtk In directory sc8-pr-cvs1:/tmp/cvs-serv29105/src/com/tucows/oxrs/epp0604/rtk Modified Files: RTKBase.java Log Message: enhancement to the parsing of the value nodes in the response -- turns out .cn has changed its response in some way to produce empty value node contents (discovered by Tom@Tucows). also, fixing simple date format for UTC to change hh to HH because the former only handles hours from 1 to 12. and fixed the Loggers to not get the root anymore -- get the named logger instead. Index: RTKBase.java =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0604/rtk/RTKBase.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RTKBase.java 24 Mar 2003 21:18:03 -0000 1.2 --- RTKBase.java 2 Sep 2003 20:04:56 -0000 1.3 *************** *** 86,90 **** /** ! * DateFormat for "yyyy-MM-dd'T'hh:mm:ss.S'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used --- 86,90 ---- /** ! * DateFormat for "yyyy-MM-dd'T'HH:mm:ss.S'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used *************** *** 92,96 **** * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ss.S'Z'"); /** --- 92,96 ---- * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S'Z'"); /** *************** *** 281,285 **** PropertyConfigurator.configure(getRTKProperties()); ! logger_ = Logger.getRootLogger(); } catch(Exception xcp) --- 281,285 ---- PropertyConfigurator.configure(getRTKProperties()); ! logger_ = Logger.getLogger("epprtk"); } catch(Exception xcp) |
From: Daniel M. <tub...@us...> - 2003-09-02 20:05:03
|
Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0402/rtk In directory sc8-pr-cvs1:/tmp/cvs-serv29105/src/com/tucows/oxrs/epp0402/rtk Modified Files: RTKBase.java Log Message: enhancement to the parsing of the value nodes in the response -- turns out .cn has changed its response in some way to produce empty value node contents (discovered by Tom@Tucows). also, fixing simple date format for UTC to change hh to HH because the former only handles hours from 1 to 12. and fixed the Loggers to not get the root anymore -- get the named logger instead. Index: RTKBase.java =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0402/rtk/RTKBase.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RTKBase.java 24 Mar 2003 21:18:00 -0000 1.2 --- RTKBase.java 2 Sep 2003 20:04:56 -0000 1.3 *************** *** 86,90 **** /** ! * DateFormat for "yyyy-MM-dd'T'hh:mm:ss.0'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used --- 86,90 ---- /** ! * DateFormat for "yyyy-MM-dd'T'HH:mm:ss.0'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used *************** *** 92,96 **** * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ss.0'Z'"); /** --- 92,96 ---- * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.0'Z'"); /** *************** *** 281,285 **** PropertyConfigurator.configure(getRTKProperties()); ! logger_ = Logger.getRootLogger(); } catch(Exception xcp) --- 281,285 ---- PropertyConfigurator.configure(getRTKProperties()); ! logger_ = Logger.getLogger("epprtk"); } catch(Exception xcp) |
From: Daniel M. <tub...@us...> - 2003-09-02 20:04:13
|
Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp/rtk In directory sc8-pr-cvs1:/tmp/cvs-serv28545 Modified Files: Tag: epp-0402 RTKBase.java Log Message: enhancement to the parsing of the value nodes in the response -- turns out .cn has changed its response in some way to produce empty value node contents (discovered by Tom@Tucows). also, fixing simple date format for UTC to change hh to HH because the former only handles hours from 1 to 12. Index: RTKBase.java =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp/rtk/Attic/RTKBase.java,v retrieving revision 1.12.2.3 retrieving revision 1.12.2.4 diff -C2 -d -r1.12.2.3 -r1.12.2.4 *** RTKBase.java 3 May 2002 17:05:58 -0000 1.12.2.3 --- RTKBase.java 2 Sep 2003 20:04:07 -0000 1.12.2.4 *************** *** 83,87 **** /** ! * DateFormat for "yyyy-MM-dd'T'hh:mm:ss.0'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used --- 83,87 ---- /** ! * DateFormat for "yyyy-MM-dd'T'HH:mm:ss.0'Z'". * This is the format returned by the EPP Server in timestamps * (eg. expiration date, last modified date, etc...). It can be used *************** *** 89,93 **** * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ss.0'Z'"); /** --- 89,93 ---- * <PRE>java.util.Date date_object = UTC_FMT.parse(date_string); </PRE> */ ! public static final DateFormat UTC_FMT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.0'Z'"); /** |
From: Daniel M. <tub...@us...> - 2003-09-02 20:04:13
|
Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp/rtk/xml In directory sc8-pr-cvs1:/tmp/cvs-serv28545/xml Modified Files: Tag: epp-0402 EPPXMLBase.java Log Message: enhancement to the parsing of the value nodes in the response -- turns out .cn has changed its response in some way to produce empty value node contents (discovered by Tom@Tucows). also, fixing simple date format for UTC to change hh to HH because the former only handles hours from 1 to 12. Index: EPPXMLBase.java =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp/rtk/xml/Attic/EPPXMLBase.java,v retrieving revision 1.17.2.1 retrieving revision 1.17.2.2 diff -C2 -d -r1.17.2.1 -r1.17.2.2 *** EPPXMLBase.java 4 Apr 2002 18:20:10 -0000 1.17.2.1 --- EPPXMLBase.java 2 Sep 2003 20:04:08 -0000 1.17.2.2 *************** *** 197,201 **** { Node value_node = value_nodes.item(count2); ! values.add(value_node.getFirstChild().getNodeValue()); } result.m_values = convertListToStringArray(values); --- 197,204 ---- { Node value_node = value_nodes.item(count2); ! if ( value_node.getFirstChild() != null ) ! { ! values.add(value_node.getFirstChild().getNodeValue()); ! } } result.m_values = convertListToStringArray(values); |