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
resource "tls_private_key" "trustanchor_key" { | |
algorithm = "ECDSA" | |
ecdsa_curve = "P256" | |
} | |
resource "tls_self_signed_cert" "trustanchor_cert" { | |
key_algorithm = tls_private_key.trustanchor_key.algorithm | |
private_key_pem = tls_private_key.trustanchor_key.private_key_pem | |
validity_period_hours = 87600 | |
is_ca_certificate = true |
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
openssl req -x509 -new -key octopus.key -days 3650 -subj "/C=GB/ST=YourState/L=YourCity/O=Your Company/OU=Department/CN=${fqdn}" | | |
openssl pkcs12 -export -inkey octopus.key -passout pass: | | |
openssl base64 |
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
2017/07/12 10:10:08 [WARNING] missing x-terraform-protocol-version from: https://releases.hashicorp.com/terraform-provider-null/0.1.0/terraform-provider-null_0.1.0_linux_amd64.zip | |
2017/07/12 10:10:08 [INFO] incompatible ProtocolVersion for null version 0.1.0 | |
2017/07/12 10:10:08 [DEBUG] fetching provider info for external version 0.1.0 | |
2017/07/12 10:10:09 [WARNING] missing x-terraform-protocol-version from: https://releases.hashicorp.com/terraform-provider-external/0.1.0/terraform-provider-external_0.1.0_linux_amd64.zip | |
2017/07/12 10:10:09 [INFO] incompatible ProtocolVersion for external version 0.1.0 | |
2017/07/12 10:10:09 [DEBUG] fetching provider info for azurerm version 0.1.2 | |
2017/07/12 10:10:09 [WARNING] missing x-terraform-protocol-version from: https://releases.hashicorp.com/terraform-provider-azurerm/0.1.2/terraform-provider-azurerm_0.1.2_linux_amd64.zip | |
2017/07/12 10:10:09 [INFO] incompatible ProtocolVersion for azurerm version 0.1.2 | |
2017/07/12 10:10:09 [DEBUG] fetching provider info for consul version 0 |