fix type in cert file name