def valid_identity_url(arg): """Make sure only valid url followed by cert dir names are allowed""" valid_distinguished_name(arg, extra_chars=':+_')
def valid_cert_dir(arg): """Make sure only valid cert dir names are allowed""" valid_distinguished_name(arg, extra_chars='+_')