Jump to content

Perry

Members
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    1

Kudos

  1. Upvote
    Perry received kudos from Mirek S. in MDM certificate   
    Hi,
     
    You should create a full chain certificate which contains SSL cert, intermediate, root and private key.
     
    - Download XCA and install it.
    - Download OpenSSL and install it.
    1.) Create a empty file (C:\temp\cert-chain.txt) on your PC and past the following inside it:
    -----BEGIN CERTIFICATE-----
    (Your Primary SSL certificate from C:\temp\your_domain_name.crt)
    -----END CERTIFICATE----- 
    -----BEGIN CERTIFICATE-----
    (Your Intermediate certificate from C:\temp\TheIntermediateCA.crt)
    -----END CERTIFICATE----- 
    -----BEGIN CERTIFICATE-----
    (Your Root certificate part from C:\temp\TheTrustedRoot.crt)
    -----END CERTIFICATE-----
    2.) Now replace the content inside the brackets with your certificates (which you can export via XCA; PEM txt format). The order above is VERY important so do not mix it!
    2.) Export the private key (unencrypted in text format) with XCA from your certificate and store it inside  C:\temp\server.pemkey
    3.) Now merge everything together as pkcs12 (filename extension for PKCS #12 files is .p12 or .pfx). To do that open a CMD (run as admin) and perform:
    cd C:\OpenSSL-Win32
    openssl pkcs12 -export -inkey C:\temp\server.pemkey -in C:\temp\cert-chain.txt -password pass:ABCD -out C:\temp\certificate(chain_and_key).pfx
    4.) Your PFX file is now ready to be used.
  2. Upvote
    Perry received kudos from Peter Randziak in MDM certificate   
    Hi,
     
    You should create a full chain certificate which contains SSL cert, intermediate, root and private key.
     
    - Download XCA and install it.
    - Download OpenSSL and install it.
    1.) Create a empty file (C:\temp\cert-chain.txt) on your PC and past the following inside it:
    -----BEGIN CERTIFICATE-----
    (Your Primary SSL certificate from C:\temp\your_domain_name.crt)
    -----END CERTIFICATE----- 
    -----BEGIN CERTIFICATE-----
    (Your Intermediate certificate from C:\temp\TheIntermediateCA.crt)
    -----END CERTIFICATE----- 
    -----BEGIN CERTIFICATE-----
    (Your Root certificate part from C:\temp\TheTrustedRoot.crt)
    -----END CERTIFICATE-----
    2.) Now replace the content inside the brackets with your certificates (which you can export via XCA; PEM txt format). The order above is VERY important so do not mix it!
    2.) Export the private key (unencrypted in text format) with XCA from your certificate and store it inside  C:\temp\server.pemkey
    3.) Now merge everything together as pkcs12 (filename extension for PKCS #12 files is .p12 or .pfx). To do that open a CMD (run as admin) and perform:
    cd C:\OpenSSL-Win32
    openssl pkcs12 -export -inkey C:\temp\server.pemkey -in C:\temp\cert-chain.txt -password pass:ABCD -out C:\temp\certificate(chain_and_key).pfx
    4.) Your PFX file is now ready to be used.
×
×
  • Create New...