class Azuki::Command::Ssl
DEPRECATED: see ‘azuki certs` instead
manage ssl certificates for an app
Public Instance Methods
add()
click to toggle source
ssl:add PEM KEY
DEPRECATED: see ‘azuki certs:add` instead
# File lib/azuki/command/ssl.rb, line 29 def add $stderr.puts " ! `azuki ssl:add` has been deprecated. Please use the SSL Endpoint add-on and the `azuki certs` commands instead." $stderr.puts " ! SSL Endpoint documentation is available at: https://devcenter.azukiapp.com/articles/ssl-endpoint" end
clear()
click to toggle source
ssl:clear
remove legacy ssl certificates from an app
# File lib/azuki/command/ssl.rb, line 38 def clear azuki.clear_ssl(app) display "Cleared certificates for #{app}" end
index()
click to toggle source
ssl
list legacy certificates for an app
# File lib/azuki/command/ssl.rb, line 15 def index api.get_domains(app).body.each do |domain| if cert = domain['cert'] display "#{domain['domain']} has a SSL certificate registered to #{cert['subject']} which expires on #{format_date(cert['expires_at'])}" else display "#{domain['domain']} has no certificate" end end end