# File lib/rhc/commands/alias.rb, line 97
    def delete_cert(app, app_alias)
      rest_app = rest_client.find_application(options.namespace, app)
      rest_alias = rest_app.find_alias(app_alias)
      if rest_client.api_version_negotiated >= 1.4
        confirm_action "#{color("This is a non-reversible action! Your SSL certificate will be permanently deleted from application '#{app}'.", :yellow)}\n\nAre you sure you want to delete the SSL certificate?"
        rest_alias.delete_certificate
        success "SSL certificate successfully deleted."
        0
      else
        raise RHC::Rest::SslCertificatesNotSupported, "The server does not support SSL certificates for custom aliases."
      end
    end