Please verify the files that you supply must be in the base64 format or asthe PEM format, you mention you did this but verify the PEM format per the below example. You can attach your PEM and private key file to this post and we can review them as well.
You might also try using OpenSSL to convert to PEM format as well just to rule out any potential issue with the TinyCA software.
The information in each file must be enclosed between a correct "BEGIN" header line (starting with five dashes) and an "END" footer line.
For certificate files:
... (CA certificate in base64 encoding) ...
For key files you must use only the PKCS#1 RSAPrivateKey format, like this:
-----BEGIN RSA PRIVATE KEY-----
...(Key in RSA PKCS#1 format)...
-----END RSA PRIVATE KEY-----
That's great that you were able to resolve your issue. Also, thank you for coming back and letting us know what you did in order to get your certificate created correctly.