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.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)) }