I found out that I can view the contents of a PEM file by pressing the Spacebar, it's not possible to select the text.
How can I copy and paste the file contents, because I need to paste it in this text field:
The contents of my PEM file look weird after opening it in the terminal. Is this normal? Because when I open the file with Spacebar the contents look completely different and much more normal than these lines.
In Terminal:
-----BEGIN CERTIFICATE-----
MIIFtzCCBJ+gAwIBAgIIRA1/KqHYmg8wDQYJKoZIhvcNAQEFBQAwgZYxCzAJBgNV
BAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBsZSBXb3Js
ZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9uczFEMEIGA1UEAww7QXBwbGUgV29ybGR3
aWRlIERldmVsb3BlciBSZWxhdGlvbnMgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkw
HhcNMTkwNjE4MTQzNTE1WhcNMjAwNjE3MTQzNTE1WjCBtjE5MDcGCgmSJomT8ixk
...
-----END CERTIFICATE-----