How can I create a PKCS #12 file from a Origin Server Certificate?

I have a Origin Certificate for my website which works but I need a PKCS #12 cert file for my Plex Media Server which is currently not secured. I sent a screenshot of my Plex Media Server Network configuration. I tried it in the past but I am not the best when it comes to Certificates… Thank you!
No description
No description
13 Replies
Jaren
Jaren4mo ago
If you have openssl installed, you can use it to convert the key and cert to a pfx file with openssl pkcs12 -inkey inkey.pem -in incert.pem -export -out out.pfx key and cert can be created and download from the origin server tab under ssl/tls
Sirox
Sirox4mo ago
okay I will try that. When I first tried I also used OpenSSL but I did something wrong. okay so I have this out.pfx file now but what do I do with it?
Jaren
Jaren4mo ago
upload it to your plex server and set the path
No description
Sirox
Sirox4mo ago
And the custom cert domain is my normal domain? Or also the subdomain I use for accessing plex?
No description
Jaren
Jaren4mo ago
the subdomain you use for accessing plex
Sirox
Sirox4mo ago
I tried it now but I still get an unsecured connection
No description
Sirox
Sirox4mo ago
the encryption key is the export key I put in openssl right?
Jaren
Jaren4mo ago
yep do you mean a certificate error? what certificate is it presenting?
Sirox
Sirox4mo ago
I set Secured Connection to required and it said "plex.neutronnet.net took too long to respond" If I disable Required Secure Connection it just uses http
Jaren
Jaren4mo ago
do you have port 443 forwarded? that might be a firewall
Sirox
Sirox4mo ago
Yes, I have a website running on the same domain and server. The plex port 32400. When you open plex.neutronnet.net the website redirects you to plex.neutronnet.net:32400. The website works normal with https.
Jaren
Jaren4mo ago
cloudflare only supports certain ports - you can't use an arbritrary one like 32400 https://developers.cloudflare.com/fundamentals/reference/network-ports/
Sirox
Sirox4mo ago
oh that explains a lot... thanks