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
Jaren8mo 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
SiroxOP8mo 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
Jaren8mo ago
upload it to your plex server and set the path
No description
Sirox
SiroxOP8mo ago
And the custom cert domain is my normal domain? Or also the subdomain I use for accessing plex?
No description
Jaren
Jaren8mo ago
the subdomain you use for accessing plex
Sirox
SiroxOP8mo ago
I tried it now but I still get an unsecured connection
No description
Sirox
SiroxOP8mo ago
the encryption key is the export key I put in openssl right?
Jaren
Jaren8mo ago
yep do you mean a certificate error? what certificate is it presenting?
Sirox
SiroxOP8mo 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
Jaren8mo ago
do you have port 443 forwarded? that might be a firewall
Sirox
SiroxOP8mo 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
Jaren8mo ago
cloudflare only supports certain ports - you can't use an arbritrary one like 32400 https://developers.cloudflare.com/fundamentals/reference/network-ports/
Sirox
SiroxOP8mo ago
oh that explains a lot... thanks
Want results from more Discord servers?
Add your server