How to fix the certificate displaying question marks '???' instead of characters