openssl req \
-newkey rsa:2048 -nodes -keyout domain.key \
-x509 -days 365 -out domain.crt
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
| # -*- coding: utf-8 -*- | |
| from __future__ import unicode_literals | |
| import os | |
| from boto.route53 import connect_to_region | |
| from boto.route53.record import ResourceRecordSets | |
| def apply(domain, ip, ttl, region, access_key=None, secret_key=None): | |
| if access_key: | |
| os.environ.setdefault('AWS_ACCESS_KEY_ID', access_key) |
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
| ssl_certificate /etc/nginx/ssl/sonar.domain.tld/cert.pem; | |
| ssl_certificate_key /etc/nginx/ssl/sonar.domain.tld/privkey.pem; | |
| upstream sonar { | |
| server 127.0.0.1:9000 fail_timeout=0; | |
| } | |
| server { | |
| listen 80; | |
| server_name sonar.domain.tld; |
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
| ssl_certificate /etc/nginx/ssl/sonar.domain.tld/cert.pem; | |
| ssl_certificate_key /etc/nginx/ssl/sonar.domain.tld/privkey.pem; | |
| upstream sonar { | |
| server 127.0.0.1:9000 fail_timeout=0; | |
| } | |
| server { | |
| listen 80; | |
| server_name sonar.domain.tld; |
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
| [ req ] | |
| default_bits = 2048 | |
| default_keyfile = server-key.pem | |
| distinguished_name = subject | |
| req_extensions = req_ext | |
| x509_extensions = x509_ext | |
| string_mask = utf8only | |
| # The Subject DN can be formed using X501 or RFC 4514 (see RFC 4519 for a description). | |
| # Its sort of a mashup. For example, RFC 4514 does not provide emailAddress. |
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
| [ req ] | |
| default_bits = 2048 | |
| default_keyfile = server-key.pem | |
| distinguished_name = subject | |
| req_extensions = req_ext | |
| x509_extensions = x509_ext | |
| string_mask = utf8only | |
| # The Subject DN can be formed using X501 or RFC 4514 (see RFC 4519 for a description). | |
| # Its sort of a mashup. For example, RFC 4514 does not provide emailAddress. |
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
| openssl req -new -newkey rsa:2048 -nodes -sha256 -keyout example.key -subj "/C=US/ST=CA/O=Organization/OU=Department/CN=example" -config <( | |
| cat <<-EOF | |
| [req] | |
| default_bits = 2048 | |
| default_md = sha256 | |
| req_extensions = req_ext | |
| distinguished_name = dn | |
| [ dn ] | |
| [ req_ext ] | |
| subjectAltName = @alt_names |
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
| # HPE Smart Storage Administrator CLI usage on ESXi Host | |
| # source: https://blog.ndk.name/manage-hpe-smart-array-in-vmware-esxi/ | |
| # source: https://be-virtual.net/hpe-storage-controller-management-ssacli/ | |
| # Possible locations on VMware ESXi | |
| /opt/hp/hpacucli/bin/hpacucli | |
| /opt/hp/hpssacli/bin/hpssacli | |
| /opt/smartstorageadmin/ssacli/bin/ssacli | |
| # Add to PATH first for easy usage (use correct path from above) |
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
| nexus: | |
| build: ./nexus | |
| ports: | |
| - "18081:8081" | |
| jenkins: | |
| build: ./jenkins | |
| ports: | |
| - "18080:8080" | |
| links: |