Skip to content

Commit 2e3a5de

Browse files
authored
chore: deprecate the ssl command (#5068)
1 parent ef5706e commit 2e3a5de

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/@ionic/cli/src/commands/ssl/generate.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ Uses OpenSSL to create a self-signed certificate for ${strong('localhost')} (by
5353
After the certificate is generated, you will still need to add it to your system or browser as a trusted certificate.
5454
5555
The default directory for ${input('--key-path')} and ${input('--cert-path')} is ${input('.ionic/ssl/')}.
56+
57+
Deprecated. Developers should generate an SSL certificate locally and then configure it using their project tooling such as Vite or Angular CLI.
5658
`,
5759
options: [
5860
{
@@ -110,7 +112,7 @@ The default directory for ${input('--key-path')} and ${input('--cert-path')} is
110112
groups: [MetadataGroup.ADVANCED],
111113
},
112114
],
113-
groups: [MetadataGroup.EXPERIMENTAL],
115+
groups: [MetadataGroup.DEPRECATED],
114116
};
115117
}
116118

packages/@ionic/cli/src/commands/ssl/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export class SSLNamespace extends Namespace {
88
return {
99
name: 'ssl',
1010
summary: 'Commands for managing SSL keys & certificates',
11-
groups: [MetadataGroup.EXPERIMENTAL],
11+
groups: [MetadataGroup.DEPRECATED],
1212
description: `
1313
These commands make it easy to manage SSL certificates for using HTTPS with ${input('ionic serve')}.
1414
`,

0 commit comments

Comments
 (0)