fix cert and key file path