improve x509 load error handling
2 files changed