sure...but have you check your SSL key text file before converting it to PEM? usually it has 2 breakdown data in the SSL key so you have to divide it into 2 files because the syntax were
web_set_certificate_ex(
"CertFilePath=",
"CertFormat=PEM",
"KeyFilePath=",
"KeyFormat=PEM",
"Password=",
LAST);
because before i also just convert what SSL keys my project team provided me to PEM format its not going to work.
you have to PARSE what's inside the SSL key text file so that you can create 2 files for the highlighted syntax.