[pve-devel] [PATCH manager 1/2] api: nodes: index: specify the type of SSL certificate

Maximiliano Sandoval m.sandoval at proxmox.com
Wed Oct 30 14:44:01 CET 2024


The function internally calls
PVE::Certificate::get_certificate_fingerprint which in turn calls:

```
    my $fp = Net::SSLeay::X509_get_fingerprint($cert, 'sha256');
```

Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 PVE/API2/Nodes.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm
index e8ff6dd9..1db148af 100644
--- a/PVE/API2/Nodes.pm
+++ b/PVE/API2/Nodes.pm
@@ -2567,7 +2567,7 @@ __PACKAGE__->register_method ({
 		    renderer => 'duration',
 		},
 		ssl_fingerprint => {
-		    description => "The SSL fingerprint for the node certificate.",
+		    description => "The SSL SHA-256 fingerprint for the node certificate.",
 		    type => 'string',
 		    optional => 1,
 		},
-- 
2.39.5





More information about the pve-devel mailing list