Install my SSL certifcate

Hello i’ve configured all my server but now i need to import my enterprise certificate. I have 2 files:
test.pfx (password protected)
test.cer
what can i do? just modify the ssl.conf to point the 2 files?

eviroment CentOS 7
php 5.4.16

thanks in advice

  • most important: search the forum… i tried for you with install ssl and this came up as 2nd hit. if that wouldn’t help you with your question there are more hits…
  • almost as important: pls do always submit more infos with your thread. like about your instance, setup, environment, etc… it would help finding valid solutions quicker other than just shooting out some random stuff (like me above). - plus the template that comes with opening an issue here under support wasn’t made for fun or to make it more difficult for users to post their questions… it was made to enable forumusers to find a solution :wink:

good luck

Sure about that? Current NC versions do not support it.

this is my output of commad php -v

PHP 5.4.16 (cli) (built: Nov 1 2019 16:04:20)
Copyright © 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright © 1998-2013 Zend Technologies

now :
P 7.2.27 (cli) (built: Jan 22 2020 09:31:55) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright © 1998-2018 Zend Technologies

hello now i’ve 2 new files :
xxxx.crt
xxxx_key.pem
i copy these files into etc/pki/tls/certs
and modify the ssl.conf :

#   Server Certificate:
# Point SSLCertificateFile at a PEM encoded certificate.  If
# the certificate is encrypted, then you will be prompted for a
# pass phrase.  Note that a kill -HUP will prompt again.  A new
# certificate can be generated using the genkey(1) command.
SSLCertificateFile /etc/pki/tls/certs/ca.crt


#   Server Private Key:
#   If the key is not combined with the certificate, use this
#   directive to point at the key file.  Keep in mind that if
#   you've both a RSA and a DSA private key you can configure
#   both in parallel (to also allow the use of DSA ciphers, etc.)
SSLCertificateKeyFile /etc/pki/tls/private/ca.key

i need just to copy the files into directory or i need to install certificates?