def verify_certs(*args):
 msg = 'Could not find a certificate: {0}\nIf you want to quickly generate a self-signed certificate, use the tls.create_self_signed_cert function in Salt'
 for arg in args:
  if (not os.path.exists(arg)):
   raise Exception(msg.format(arg))

def verify_certs ( * args ) : msg = 'Could not find a certificate: {0}\nIf you want to quickly generate a self-signed certificate, use the tls.create_self_signed_cert function in Salt' for arg in args : if ( not os . path . exists ( arg ) ) : raise Exception ( msg . format ( arg ) )
sanity checking for the specified ssl certificates .