This repository was archived by the owner on Dec 30, 2025. It is now read-only.
Commit ba9bcb4
committed
fix(ssl-manager): adjust certificate size thresholds for validation
This commit modifies the ssl-manager.sh script to update the size thresholds for certificate and private key validation. The minimum size for certificates is changed from 1000 bytes to 500 bytes, while the threshold for private keys is adjusted to differentiate between RSA and ECDSA keys, setting a lower limit of 100 bytes. Additionally, a new log message is added for typical ECDSA key sizes, enhancing the script's feedback during SSL management.1 parent 83655da commit ba9bcb4
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | 143 | | |
145 | 144 | | |
146 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
| 455 | + | |
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
| 460 | + | |
| 461 | + | |
461 | 462 | | |
462 | 463 | | |
| 464 | + | |
| 465 | + | |
463 | 466 | | |
464 | 467 | | |
465 | 468 | | |
| |||
0 commit comments