script to exit non-zero when fail to get certificate