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
| get md5 from crt | |
| openssl x509 -noout -modulus -in /etc/yourcertificate.crt | openssl md5 | |
| get md5 from key | |
| openssl rsa -noout -modulus -in /etc/private.key | openssl md5 |
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
| require 'aws-sdk' | |
| route53 = Aws::Route53::Client.new( | |
| region: 'sa-east-1', | |
| access_key_id: 'xxxxxx', | |
| secret_access_key: 'xxxxxx' | |
| ) | |
| response = route53.list_resource_record_sets( | |
| :hosted_zone_id => "xxxxxx", | |
| ) |
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
| require 'aws-sdk' | |
| route53 = Aws::Route53::Client.new( | |
| region: 'sa-east-1', | |
| access_key_id: 'xxxxx', | |
| secret_access_key: 'xxxxx' | |
| ) | |
| changes = [] | |
| changes << { | |
| :action => 'CREATE', |
NewerOlder