Return error when certificate file could not be loaded.