fix crt and key