I am well aware of how to upload .p12 cert for iOS push notifications - via Heroku or Back4App. However my Parse server is hosted on AWS ec2 instance with Bitnami image. Hence I can only interact with my server via my Terminal. I tried uploading the PFX (.p12) from my local machine via scp something like this:
scp -i /Path/To/My/Certificates.p12 ubuntu@server_ip: /home
but I am receiving the following error in Terminal:
Load key "/Path/To/My/Certificates.p12": invalid format ubuntu@server_ip: Permission denied (publickey).
There is unfortunately poor documentation regarding how to upload p12 files without GUI's like Back4App/Heroku.
So I would be very glad if someone could assist me on this matter.