# File lib/rhc/rest/alias.rb, line 17 def add_certificate(ssl_certificate_content, private_key_content, pass_phrase) debug "Running add_certificate for alias #{@id}" raise RHC::Rest::SslCertificatesNotSupported, "The server does not support SSL certificates for custom aliases." unless supports? :update foo = rest_method :update, { :ssl_certificate => ssl_certificate_content, :private_key => private_key_content, :pass_phrase => pass_phrase } end