def delete_server_cert(cert_name, region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 try:
  return conn.delete_server_cert(cert_name)
 except boto.exception.BotoServerError as e:
  log.debug(e)
  msg = 'Failed to delete certificate {0}.'
  log.error(msg.format(cert_name))
  return False

def delete_server_cert ( cert_name , region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) try : return conn . delete_server_cert ( cert_name ) except boto . exception . BotoServerError as e : log . debug ( e ) msg = 'Failed to delete certificate {0}.' log . error ( msg . format ( cert_name ) ) return False
deletes a certificate from amazon .