To generate a local certiticate and using it, please follow these steps (note: replace MY_DOMAIN, MY_FILENAME and MY_PASSPHRASE based on your choice):
openssl genrsa -out MY_FILENAME.key 4096| function onOpen(e) { | |
| DocumentApp.getUi().createAddonMenu() | |
| .addItem("Shorten Links", 'displayLinks') | |
| .addToUi(); | |
| } | |
| function onInstall(e) { | |
| onOpen(e); | |
| } |