Score:0

How to update a SSL Certificate from a private key?

cn flag

A client sent me a new SSL certificate for his domain site1.hisdomain.com.

The A-DNS to this subdomain points to my own server, running Ubuntu/Apache2.

My Apache .conf for this domain site1.hisdomain.ch is this:

UseCanonicalName Off

<VirtualHost *:443>
     DocumentRoot /var/www/site1/
     ServerName oursite.myserver.com
     ServerAlias site1.hisdomain.com
     <Directory /var/www/site1>
        Options +FollowSymlinks
        AllowOverride All
        Require all granted
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/site1-error.log
     CustomLog ${APACHE_LOG_DIR}/site1-access.log combined

  <FilesMatch ".php$">
         SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost/"
      </FilesMatch>

SSLEngine on
SSLCertificateFile /etc/ssl/site1.hisdomain.com.pem
SSLCertificateKeyFile /etc/ssl/site1.hisdomain.com.key
SSLCertificateChainFile /etc/ssl/site1.hisdomain.com.csr

</VirtualHost>

He sent me a PFX file, which installed now a local certificate in my Keychain (a private key, RSA). How i can updated now the SSL certificate on my server from this file without crashing everything?

I overtook the server from a friend and have not really expirience how to update now the certificate.

Thanks!

muru avatar
us flag
https://stackoverflow.com/a/15656529/2072269
cn flag
thanks, that looks promising! I will check it out. Was not able to find this article with the correct search terms.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.