We are using letsencrypt to generate free SSL certificates. Unfortunately, the supplied scripts only support CentOS 6 on x86_64. (SAM is only 32 bit). In order to work around this I have set up a 64 bit VM for the sole purpose of renewing the SSL certificate.

  1. vi /etc/httpd/conf/httpd.conf and unhash the last 7 lines:

    <Virtualhost *:80>
        ServerAdmin support@crecom.com.au
        DocumentRoot /var/www/html/shopifytest/
        ServerName shopify.creativecomputing.com.au
        ErrorLog logs/shopify-error_log
        CustomLog logs/shopify-access_log common
    </VirtualHost>
  2. Save the file and run:

    service httpd restart
  3. ssh as root to sam64 (same password as root on sam)
  4. run:

    bash renewshopify.sh
  5. follow the prompts. It should ask you if you want to renew. Say "Y".
  6. When the prompt returns, you can log out of sam64
  7. Go back to sam. Re hash-out the last 7 lines

    #<Virtualhost *:80>
    #    ServerAdmin support@crecom.com.au
    #    DocumentRoot /var/www/html/shopifytest/
    #    ServerName shopify.creativecomputing.com.au
    #    ErrorLog logs/shopify-error_log
    #    CustomLog logs/shopify-access_log common
    #</VirtualHost>
  8. Save the file and run:

    service httpd restart
  9. The SSL certificate should be renewed.

Renew_shopify_SSL (last edited 2020-07-08 01:05:29 by JonCo)