This YANG module provides specifications of operations and data related to PKI management on TNSR.
Copyright 2018-2022 Rubicon Communications, LLC.
Example URL
operates on netgate.pki.PkiAllRestconfCert
input | object (netgate.pki.pkiallrestconfcert.Input) |
Correct response
No response
Internal error
Example URL
operates on netgate.pki.PkiCaAppend
input | object (netgate.pki.pkicaappend.Input) |
No response
Internal error
Example URL
operates on netgate.pki.PkiCaDelete
input | object (netgate.pki.pkicadelete.Input) |
No response
Internal error
Example URL
operates on netgate.pki.PkiCaGet
input | object (netgate.pki.pkicaget.Input) |
Correct response
No response
Internal error
Example URL
operates on netgate.pki.PkiCaImport
input | object (netgate.pki.pkicaimport.Input) |
No response
Internal error
Example URL
Correct response
No response
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/operations/netgate-pki:pki-ca-list" req, _ := http.NewRequest("POST", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Correct response
No response
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/operations/netgate-pki:pki-ca-status-list" req, _ := http.NewRequest("POST", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
operates on netgate.pki.PkiCertDelete
input | object (netgate.pki.pkicertdelete.Input) |
No response
Internal error
Example URL
operates on netgate.pki.PkiCertGet
input | object (netgate.pki.pkicertget.Input) |
Correct response
No response
Internal error
Example URL
operates on netgate.pki.PkiCertImport
input | object (netgate.pki.pkicertimport.Input) |
No response
Internal error
Example URL
Correct response
No response
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/operations/netgate-pki:pki-cert-list" req, _ := http.NewRequest("POST", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Correct response
No response
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/operations/netgate-pki:pki-cert-status-list" req, _ := http.NewRequest("POST", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
operates on netgate.pki.PkiCsrDelete
input | object (netgate.pki.pkicsrdelete.Input) |
No response
Internal error
Example URL
operates on netgate.pki.PkiCsrGenerate
input | object (netgate.pki.pkicsrgenerate.Input) |
Correct response
No response
Internal error
Example URL
operates on netgate.pki.PkiCsrGet
input | object (netgate.pki.pkicsrget.Input) |
Correct response
No response
Internal error
Example URL
Correct response
No response
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/operations/netgate-pki:pki-csr-list" req, _ := http.NewRequest("POST", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
operates on netgate.pki.PkiCsrSign
input | object (netgate.pki.pkicsrsign.Input) |
Correct response
No response
Internal error
Example URL
operates on netgate.pki.PkiP12Delete
input | object (netgate.pki.pkip12delete.Input) |
No response
Internal error
Example URL
operates on netgate.pki.PkiP12Generate
input | object (netgate.pki.pkip12generate.Input) |
Correct response
No response
Internal error
Example URL
operates on netgate.pki.PkiP12Get
input | object (netgate.pki.pkip12get.Input) |
Correct response
No response
Internal error
Example URL
Correct response
No response
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/operations/netgate-pki:pki-p12-list" req, _ := http.NewRequest("POST", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
operates on netgate.pki.PkiPrivateKeyDelete
input | object (netgate.pki.pkiprivatekeydelete.Input) |
No response
Internal error
Example URL
operates on netgate.pki.PkiPrivateKeyGenerate
input | object (netgate.pki.pkiprivatekeygenerate.Input) |
Correct response
No response
Internal error
Example URL
operates on netgate.pki.PkiPrivateKeyGet
input | object (netgate.pki.pkiprivatekeyget.Input) |
Correct response
No response
Internal error
Example URL
operates on netgate.pki.PkiPrivateKeyImport
input | object (netgate.pki.pkiprivatekeyimport.Input) |
No response
Internal error
Example URL
Correct response
No response
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/operations/netgate-pki:pki-private-key-list" req, _ := http.NewRequest("POST", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
operates on netgate.pki.PkiSshKeyDelete
input | object (netgate.pki.pkisshkeydelete.Input) |
No response
Internal error
Example URL
operates on netgate.pki.PkiSshKeyGet
input | object (netgate.pki.pkisshkeyget.Input) |
Correct response
No response
Internal error
Example URL
operates on netgate.pki.PkiSshKeyImport
input | object (netgate.pki.pkisshkeyimport.Input) |
No response
Internal error
Example URL
Correct response
No response
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/operations/netgate-pki:pki-ssh-key-list" req, _ := http.NewRequest("POST", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }