module Kontena::Machine::Aws
Public Class Methods
ssl_fail_message(used_option = false)
click to toggle source
# File lib/kontena/machine/aws.rb, line 4 def ssl_fail_message(used_option = false) if used_option "AWS SSL certificate verify failed.\n" + "You may need to download cacert.pem and set environment variable\n" + "SSL_CERT_FILE=/path/to/cacert.pem" else "AWS SSL certificate verify failed.\n" + "Try running the command again with option --aws-bundled-cert" end end
Private Instance Methods
ssl_fail_message(used_option = false)
click to toggle source
# File lib/kontena/machine/aws.rb, line 4 def ssl_fail_message(used_option = false) if used_option "AWS SSL certificate verify failed.\n" + "You may need to download cacert.pem and set environment variable\n" + "SSL_CERT_FILE=/path/to/cacert.pem" else "AWS SSL certificate verify failed.\n" + "Try running the command again with option --aws-bundled-cert" end end