Jump to content

Https chain - Pfx


bncbnc83

Recommended Posts

bncbnc83

Hello i have a problem. my https chain dont work, if i look in my pfx file, it looks like all files are there, but if i run a ssl test it only sees my certificate.

 

Someone who knows what i done wrong ?

 

openssl req -new -newkey rsa:2048 -nodes -out name.csr -keyout name.key -subj "/C=na/ST=name/L=name/O=name/OU=name/CN=server.domain.com"

Got certicate and chain files from namecheap and run

openssl pkcs12 -export -out certificate.pfx -inkey name.key -in name.crt -certfile chain.crt

and choose the pfx file in mediabrowser

 

I run media browser in docker on ubuntu Ubuntu 14.10

 

hope someone can help :)

Edited by bncbnc83
Link to comment
Share on other sites

  • 3 weeks later...
opsoyo

**Not sure if you ever got this fixed, but for future viewers with any kind of problem like this:

 

Try combining your chain.crt with your name.crt file. They are just text files. Be sure to copy the entire block from "-----BEGIN CERTIFICATE-----" to "-----END CERTIFICATE-----" from the chain.crt to the name.crt file.

 

And, make sure all the files are in the same directory as the openssl executable. Otherwise, I suggest you use absolute paths for your files, just to be sure.

Link to comment
Share on other sites

bncbnc83

**Not sure if you ever got this fixed, but for future viewers with any kind of problem like this:

 

Try combining your chain.crt with your name.crt file. They are just text files. Be sure to copy the entire block from "-----BEGIN CERTIFICATE-----" to "-----END CERTIFICATE-----" from the chain.crt to the name.crt file.

 

And, make sure all the files are in the same directory as the openssl executable. Otherwise, I suggest you use absolute paths for your files, just to be sure.

Hello and thanks for your respons. i have tryed that, and it didnt work :-(

Link to comment
Share on other sites

opsoyo

Are you receiving an kind of errors from openssl when you run the command? Post a snapshot of the output from Terminal or copy the text here, please. Oh, and what's the version of openssl (run "openssl version")?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...