2004-12-06 07:59:56 UTC
Yes, I was thinking that the ca-bundle.crt file needs to contain a full chain. Great that it works.
Btw: reversal of the order of DN should not be relevant in theory, in practice some stupid software (internet explorer) can barf if the ordering os wrong.
In the end-user certificate the issuer part should be in the same order as the subject part of the CA-cert though, at least ejbca is supposed to be coded that way. You have to examine the certs using the same software (i.e. OpenSSL) though, as the presentation is software dependent, openssl writes it in one order and java in another for example. The internal asn.1 coding is what matters (though it should not).
The flag in CertTools was created since some old legacy software cares about ordering.
SHA1 is the preffered hash-algorithm these days since MD5 has security issues and should not be used in modern systems.
The DirName extension is definately optional, you can produce a wide range of optional exentsions in ejbca for ocsp verifcation, crl distributions points etc etc. It's configured in certificate profiles.
Cheers,
Tomas