/*
* If this certificate is to be used by an ssl server,
* then add the following:
*/
cert.addExtension(new NetscapeSSLServerName(
getEntry("host name of server", "*.eng.sun.com")));
String comment = getEntry("A comment for the certificate user", "");
if (!comment.equals("")) {
cert.addExtension(new NetscapeComment(comment));