github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/api/plugin/pluginerror/unverified_server_error.go (about)

     1  package pluginerror
     2  
     3  // UnverifiedServerError replaces x509.UnknownAuthorityError when the server
     4  // has SSL but the client is unable to verify it's certificate
     5  type UnverifiedServerError struct {
     6  	URL string
     7  }
     8  
     9  func (UnverifiedServerError) Error() string {
    10  	return "x509: certificate signed by unknown authority"
    11  }