This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Install cert files in cPanel directly using cPanel's CLI | |
# (compatible with namecheap shared hosting) | |
# This is provided as-is. You can do what you want with it. | |
# Set domain name cert is to be used with (CHANGE TO YOUR DOMAIN) | |
# Currently, only works for one domain | |
dom='example.com' | |
# Set the username of cPanel (CHANGE TO YOUR CPANEL USERNAME) |