for all the newbies, openssl extensions explained link:
PEM-DER-CSR-CRT
hope it helps to understand it better.