This file contains 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
import-module ACMESharp | |
# | |
# Script parameters | |
# | |
$domain = "mail.yourdomain.com" | |
$sans = @("autodiscover.yourdomain.com") | |
$exchangeServers = @("EX01", "EX02", "EX03"); | |
$iissitename = "Default Web Site" |
This file contains 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
char *copyBootHash(void) { | |
unsigned char buf[1024]; | |
uint32_t length = 1024; | |
io_registry_entry_t chosen = IORegistryEntryFromPath(kIOMasterPortDefault, "IODeviceTree:/chosen"); | |
if (!MACH_PORT_VALID(chosen)) { | |
printf("Unable to get IODeviceTree:/chosen port\n"); | |
return NULL; | |
} | |
This file contains 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
#!/usr/bin/perl | |
# USAGE: startSSL.pl DOMAIN1 DOMAIN2 ... | |
# | |
# Requires: | |
# - client.crt and client.key in same directory as startSSL.pl | |
# - DOMAIN.csr in the current directory for each domain (in PEM format) | |
# | |
# Outputs: DOMAIN.crt to current directory in PEM format | |
# |