Added certificate chain promise, corrected key file name