problems with setting up a SSL port on tomcat
I am trying to open up a SSL port on tomcat . I have gone through some JSSE documentation and the tomcat documentation and I found out that i need to use the "keytool" ... tool to generate a key
Tomcat and it's java apps are run on top of a FreeBSD 4.8 server and the linux-jdk1.4 . I have also installed the freebsd one , however i don't have that one setup as JAVA_HOME for tomcat .
Well my problem is that when i do :
keytool -genkey -alias tomcat -keyalg RSA
using the linux path for keytool i'm thrown this error :
Exception in thread "main" java.lang.InternalError: URLSeedGenerator file:/dev/random reached end of file
By using the keytool in the freebsd jdk , i don't get any errors , however Tomcat is configured to work with the linux version and crashes when i try to restart it ...
I am using the linux jdk on freebsd because suposedly the freeBSD based jdk is of alpha quality and the linux one is recomended
Does anyone have any clue on how to work arround this thing ?
FreeBSD , dooing more with less since 10 years ago