refactor(database): require PEM key file for SSL certificate regeneration
This commit is contained in:
@@ -228,6 +228,7 @@ class General extends Component
|
|||||||
caKey: $caCert->ssl_private_key,
|
caKey: $caCert->ssl_private_key,
|
||||||
configurationDir: $existingCert->configuration_dir,
|
configurationDir: $existingCert->configuration_dir,
|
||||||
mountPath: $existingCert->mount_path,
|
mountPath: $existingCert->mount_path,
|
||||||
|
isPemKeyFileRequired: true,
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->dispatch('success', 'SSL certificates regenerated. Restart database to apply changes.');
|
$this->dispatch('success', 'SSL certificates regenerated. Restart database to apply changes.');
|
||||||
|
@@ -234,6 +234,7 @@ class General extends Component
|
|||||||
caKey: $caCert->ssl_private_key,
|
caKey: $caCert->ssl_private_key,
|
||||||
configurationDir: $existingCert->configuration_dir,
|
configurationDir: $existingCert->configuration_dir,
|
||||||
mountPath: $existingCert->mount_path,
|
mountPath: $existingCert->mount_path,
|
||||||
|
isPemKeyFileRequired: true,
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->dispatch('success', 'SSL certificates regenerated. Restart database to apply changes.');
|
$this->dispatch('success', 'SSL certificates regenerated. Restart database to apply changes.');
|
||||||
|
@@ -184,6 +184,7 @@ class General extends Component
|
|||||||
caKey: $caCert->ssl_private_key,
|
caKey: $caCert->ssl_private_key,
|
||||||
configurationDir: $existingCert->configuration_dir,
|
configurationDir: $existingCert->configuration_dir,
|
||||||
mountPath: $existingCert->mount_path,
|
mountPath: $existingCert->mount_path,
|
||||||
|
isPemKeyFileRequired: true,
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->dispatch('success', 'SSL certificates have been regenerated. Please restart the database for changes to take effect.');
|
$this->dispatch('success', 'SSL certificates have been regenerated. Please restart the database for changes to take effect.');
|
||||||
|
@@ -192,6 +192,7 @@ class General extends Component
|
|||||||
caKey: $caCert->ssl_private_key,
|
caKey: $caCert->ssl_private_key,
|
||||||
configurationDir: $existingCert->configuration_dir,
|
configurationDir: $existingCert->configuration_dir,
|
||||||
mountPath: $existingCert->mount_path,
|
mountPath: $existingCert->mount_path,
|
||||||
|
isPemKeyFileRequired: true,
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->dispatch('success', 'SSL certificates have been regenerated. Please restart the database for changes to take effect.');
|
$this->dispatch('success', 'SSL certificates have been regenerated. Please restart the database for changes to take effect.');
|
||||||
|
@@ -191,6 +191,7 @@ class General extends Component
|
|||||||
caKey: $caCert->ssl_private_key,
|
caKey: $caCert->ssl_private_key,
|
||||||
configurationDir: $existingCert->configuration_dir,
|
configurationDir: $existingCert->configuration_dir,
|
||||||
mountPath: $existingCert->mount_path,
|
mountPath: $existingCert->mount_path,
|
||||||
|
isPemKeyFileRequired: true,
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->dispatch('success', 'SSL certificates have been regenerated. Please restart the database for changes to take effect.');
|
$this->dispatch('success', 'SSL certificates have been regenerated. Please restart the database for changes to take effect.');
|
||||||
|
@@ -148,6 +148,7 @@ class General extends Component
|
|||||||
caKey: $caCert->ssl_private_key,
|
caKey: $caCert->ssl_private_key,
|
||||||
configurationDir: $existingCert->configuration_dir,
|
configurationDir: $existingCert->configuration_dir,
|
||||||
mountPath: $existingCert->mount_path,
|
mountPath: $existingCert->mount_path,
|
||||||
|
isPemKeyFileRequired: true,
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->dispatch('success', 'SSL certificates have been regenerated. Please restart the database for changes to take effect.');
|
$this->dispatch('success', 'SSL certificates have been regenerated. Please restart the database for changes to take effect.');
|
||||||
|
@@ -188,6 +188,7 @@ class General extends Component
|
|||||||
caKey: $caCert->ssl_private_key,
|
caKey: $caCert->ssl_private_key,
|
||||||
configurationDir: $existingCert->configuration_dir,
|
configurationDir: $existingCert->configuration_dir,
|
||||||
mountPath: $existingCert->mount_path,
|
mountPath: $existingCert->mount_path,
|
||||||
|
isPemKeyFileRequired: true,
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->dispatch('success', 'SSL certificates regenerated. Restart database to apply changes.');
|
$this->dispatch('success', 'SSL certificates regenerated. Restart database to apply changes.');
|
||||||
|
Reference in New Issue
Block a user