Fix generation of expired CA certificate.