Question: how to create crt and key file?
Answer: Return to the certificate. ... 
Copy the section starting from and including -----BEGIN PRIVATE KEY----- to -----END PRIVATE KEY----- ... 
Create a new file using Notepad.
Paste and save the information into the new Notepad file.
Save the file as privateKey.