Skip to content

Instantly share code, notes, and snippets.

@essandess
essandess / SMIME Encrypted Email Example with Gmail and Comodo.md
Last active January 10, 2023 16:35
S/MIME Encrypted Email Example with Gmail and Comodo and macOS

S/MIME Encrypted Email Example with Gmail and Comodo

A quick how-to installation for secure S/MIME installation for a Gmail account on macOS. This certificate can be used to simultaneously encrypt and sign emails.

Obtain and install an S/MIME Certificate

  1. Create a unique revocation passphrase in a password manager—long, random, unique.
  2. Browse to Comodo and request a free, secure email certificate:
  • Enter your name, email address, and specify the maximum 2048 bit length
  • Enter your revocation passphrase in case your private key is ever stolen or compromised
@nickkuijpers
nickkuijpers / gist:1b74118796af7c81ae96
Created July 14, 2015 19:47
Bulk Add Domains To DirectAdmin
<?php
/**
* Adding domains to DirectAdmin
*/
include 'httpsocket.php';
// domains comma seperated
$domains = 'domein1.nl,domein2.nl,domein3.nl';
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #