From 2e3a5de3ab3191ce5f301cf8bd09817d961c252b Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Tue, 2 Jan 2024 12:34:04 -0500 Subject: [PATCH] chore: deprecate the ssl command (#5068) --- packages/@ionic/cli/src/commands/ssl/generate.ts | 4 +++- packages/@ionic/cli/src/commands/ssl/index.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/@ionic/cli/src/commands/ssl/generate.ts b/packages/@ionic/cli/src/commands/ssl/generate.ts index 485923bc1b..acb1a3e595 100644 --- a/packages/@ionic/cli/src/commands/ssl/generate.ts +++ b/packages/@ionic/cli/src/commands/ssl/generate.ts @@ -53,6 +53,8 @@ Uses OpenSSL to create a self-signed certificate for ${strong('localhost')} (by After the certificate is generated, you will still need to add it to your system or browser as a trusted certificate. The default directory for ${input('--key-path')} and ${input('--cert-path')} is ${input('.ionic/ssl/')}. + +Deprecated. Developers should generate an SSL certificate locally and then configure it using their project tooling such as Vite or Angular CLI. `, options: [ { @@ -110,7 +112,7 @@ The default directory for ${input('--key-path')} and ${input('--cert-path')} is groups: [MetadataGroup.ADVANCED], }, ], - groups: [MetadataGroup.EXPERIMENTAL], + groups: [MetadataGroup.DEPRECATED], }; } diff --git a/packages/@ionic/cli/src/commands/ssl/index.ts b/packages/@ionic/cli/src/commands/ssl/index.ts index 89fb4bf472..21988e0309 100644 --- a/packages/@ionic/cli/src/commands/ssl/index.ts +++ b/packages/@ionic/cli/src/commands/ssl/index.ts @@ -8,7 +8,7 @@ export class SSLNamespace extends Namespace { return { name: 'ssl', summary: 'Commands for managing SSL keys & certificates', - groups: [MetadataGroup.EXPERIMENTAL], + groups: [MetadataGroup.DEPRECATED], description: ` These commands make it easy to manage SSL certificates for using HTTPS with ${input('ionic serve')}. `,