Beispiel #1
0
def ca(tmp_path, monkeypatch):
    p = tmp_path / "ca"
    return certs.CertificateAuthority(p, CA_NAME)
def ca(tmp_path, monkeypatch):
    p = tmp_path / "etc" / "ssl"
    return certs.CertificateAuthority(p, "ca-name")
Beispiel #3
0
def fixture_ca(tmp_path: Path) -> certs.CertificateAuthority:
    return certs.CertificateAuthority(
        tmp_path / "ca",
        CA_NAME,
    )
Beispiel #4
0
def ca(tmpdir, monkeypatch):
    p = Path("%s" % tmpdir) / "etc" / "ssl"
    return certs.CertificateAuthority(p, "ca-name")
Beispiel #5
0
def ca(tmpdir, monkeypatch):
    p = Path("%s" % tmpdir) / "ca"
    return certs.CertificateAuthority(p, CA_NAME)