From ab1833b159f448d57f6551342b9cf9187cb2c314 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Fri, 31 Jan 2025 18:29:06 +0100 Subject: [PATCH] feat(ui): Add CA cert UI - brief instructions and recommendations - copy button to copy the CA file mount - ability to display the CA certificate - ability to save your own CA Cert or generate a new one --- .../views/livewire/server/advanced.blade.php | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/resources/views/livewire/server/advanced.blade.php b/resources/views/livewire/server/advanced.blade.php index b6dcf0ea0..737f52bea 100644 --- a/resources/views/livewire/server/advanced.blade.php +++ b/resources/views/livewire/server/advanced.blade.php @@ -38,6 +38,82 @@ + +
+

CA SSL Certificate

+
+ + + + +
+
+
+

Recommended Configuration:

+
    +
  • Mount this Coolify CA certificate into all containers that need to connect to a database over SSL.
  • +
  • Use verify-full (recommended) or verify-ca when connecting to a database over SSL.
  • +
+
+
+ +
+
+
+
+ CA Certificate Content + + {{ $showCertificate ? 'Hide' : 'Show' }} + +
+ @if($showCertificate) + + @else +
+
+
+ ━━━━━━━━ CERTIFICATE CONTENT ━━━━━━━━ +
+
+ Click "Show" to view or edit +
+
+
+ @endif +
+