tag:blogger.com,1999:blog-78450985971317585242023-11-22T12:01:05.703+01:00No SenseSome of my stupid thoughtsManfred Rosenboomhttp://www.blogger.com/profile/06803285107600783098noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-7845098597131758524.post-22815971063140880272022-11-28T11:21:00.002+01:002022-11-28T11:21:32.382+01:00Create a JRE cacerts file from the Mozilla CA dataThe JRE (Java Runtime Environment) uses the file cacerts as trust base for the HTTPS connections to a server. You can substitute this trust base by the Mozilla CA, used e.g. in Firefox.You will find a PEM file with all the Mozialla CA certificates at the CA certificates extracted from Mozilla site. As of the day of writing, the current file is cacert-2022-10-11.pem.Download the Manfred Rosenboomhttp://www.blogger.com/profile/06803285107600783098noreply@blogger.comtag:blogger.com,1999:blog-7845098597131758524.post-57675603409429439922016-09-26T15:02:00.001+02:002016-09-27T15:27:24.462+02:00Create/Verify a Timestamp Request with OpenSSLWith the help of OpenSSL and curl you can easily create and verify SHA-1 based timestamps.
In this sample I will use the FreeTSA (https://freetsa.org/index_en.php) timestamp provider.
TSA Certificate: https://freetsa.org/files/tsa.crt
Key modulus (sha256): 899ba3d9f777e2a74bdd34302bc06cb3f7a46ac1f565ee128f79fd5dab99d68b
CA Certificate: https://freetsa.org/files/cacert.pem
Key modulus (sha256):Manfred Rosenboomhttp://www.blogger.com/profile/06803285107600783098noreply@blogger.comtag:blogger.com,1999:blog-7845098597131758524.post-17917103774389609402013-10-22T09:45:00.000+02:002013-10-22T09:45:15.508+02:00Some Active Java SSH Implementation Projects
Ganymed SSH-2: Java based SSH-2 Protocol Implementationhttp://code.google.com/p/ganymed-ssh-2/
JSch - Java Secure Channelhttp://www.jcraft.com/jsch/
Trilead SSH-2 for Javahttps://github.com/jenkinsci/trilead-ssh2/tree/master
Manfred Rosenboomhttp://www.blogger.com/profile/06803285107600783098noreply@blogger.comtag:blogger.com,1999:blog-7845098597131758524.post-13483431280817119312013-06-24T14:37:00.000+02:002013-06-24T14:37:37.966+02:00Oracle Database Instant Client InstallationOracle Database Instant Client InstallationThe Oracle Instant Client software is an easy to use alternative to a full blown Oracle Client installation. Especially if you are mainly interested in the Oracle sqlplus tool.1. Create an oracle account (if not already available)# groupadd oracle# useradd -c "Oracle Instant Client" -d /home/oracle \ Manfred Rosenboomhttp://www.blogger.com/profile/06803285107600783098noreply@blogger.comtag:blogger.com,1999:blog-7845098597131758524.post-60635727921764845672012-10-17T13:32:00.000+02:002012-10-17T13:33:07.678+02:00Java Object Serialization/DeserializationManfred Rosenboomhttp://www.blogger.com/profile/06803285107600783098noreply@blogger.comtag:blogger.com,1999:blog-7845098597131758524.post-55780182866671477362012-08-25T17:21:00.001+02:002012-08-26T11:23:18.750+02:00Simple usage example for class java.lang.ProcessBuilder under Windows (XP, Vista, ...) It's easy to execute shell scripts under Windows with the help of the ProcessBuilder class:
Manfred Rosenboomhttp://www.blogger.com/profile/06803285107600783098noreply@blogger.comtag:blogger.com,1999:blog-7845098597131758524.post-62351707851979669942012-08-20T12:57:00.001+02:002012-08-26T11:23:34.594+02:00New Feature in Java SE 7 Update 6: Alternative Hash Function
Be prepared for the upcoming Java SE 8! From http://mail.openjdk.java.net/pipermail/jdk7u-dev/2012-July/003721.html we learn the following:
Java SE 7 (beginning with Update 6) and 8 both now support alternative hashing for String keys with hash based Maps
Alternative hashing improves performance when many String key hash codes collide
Alternative hashing impacts key, value and element Manfred Rosenboomhttp://www.blogger.com/profile/06803285107600783098noreply@blogger.com