Valid not before not set.

So we’re working on a Java project dealing with X509Certificates. We thought we were all set, until we ran across this error.
“Valid not before not set”.

What the hell does that mean. At first we thought it was “Valid ____ not ___ before ___ not set” or something, with a variable that just wasn’t properly initialized or something? But it made no sense.

Anyways. It turns out that certificates have a property called “valid not before”, and it wasn’t set. So we had to set that property.

It took way too long to figure out. Hopefully this helps someone else though.

Comments
blog comments powered by Disqus