correctly open cert file