feat(ipsec): add certificate export functionality by name
Docker images / prepare-release (push) Successful in 12s
Docker images / backend-test (push) Successful in 2m41s
Docker images / frontend-image (push) Successful in 2m57s
Docker images / updater-image (push) Successful in 48s
Docker images / backend-image (push) Successful in 2m48s
Docker images / notify-webhook (push) Skipped
Docker images / publish-release (push) Successful in 13s

- Implemented a new backend route for exporting existing client certificates in .p12 format by name.
- Enhanced the frontend to support exporting certificates directly from the IPsec server grid.
- Updated the IPsec page to manage certificate states and handle exports effectively.
- Introduced new utility functions for certificate handling and improved data structures to accommodate the changes.
- Added tests to ensure the reliability of the new certificate export feature.
This commit is contained in:
Denozordec
2026-09-12 21:39:14 +07:00
parent 7365d8d8fb
commit 3eb75ea0b8
13 changed files with 520 additions and 73 deletions
+7 -1
View File
@@ -151,7 +151,13 @@ function IpsecUserSheet({
/>
</FormField>
{!editing ? (
<FormField label="Аутентификация" required>
<FormField
label="Аутентификация"
required
hint={form.authMethod === "certificate"
? "CA и серверный серт берутся из уже настроенного IKEv2 (напр. MyCA + vpn-server); новый клиент подписывается этим CA"
: undefined}
>
<div className="flex gap-1.5">
<Button
type="button"