diff --git a/packages/qr-code-scanner/package.json b/packages/qr-code-scanner/package.json
index dc2d547503350a53126f3f84300b213c470260a6..f9911351ab045088ac07abba607025aa67ebf883 100644
--- a/packages/qr-code-scanner/package.json
+++ b/packages/qr-code-scanner/package.json
@@ -32,7 +32,7 @@
     "rollup-plugin-delete": "^2.0.0",
     "rollup-plugin-serve": "^1.0.1",
     "rollup-plugin-terser": "^7.0.2",
-    "selfsigned": "^1.10.7"
+    "selfsigned": "^2.0.0"
   },
   "dependencies": {
     "@dbp-toolkit/common": "^0.2.2",
diff --git a/toolkit-showcase/package.json b/toolkit-showcase/package.json
index d8fbc6e041b373c53dc23e981a68caa0e166f041..bb8b40ab661fc603013c0f246950a0e1ca901883 100644
--- a/toolkit-showcase/package.json
+++ b/toolkit-showcase/package.json
@@ -36,7 +36,7 @@
     "rollup-plugin-md": "^1.0.0",
     "rollup-plugin-serve": "^1.0.1",
     "rollup-plugin-terser": "^7.0.2",
-    "selfsigned": "^1.10.7"
+    "selfsigned": "^2.0.0"
   },
   "dependencies": {
     "@dbp-toolkit/app-shell": "^0.2.0",
diff --git a/yarn.lock b/yarn.lock
index 263e0e83254cbadcf6f7ddd4200311fa418244a4..e5023af2b6f59f6ad46a9bb8a72e2257353b9a2c 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6089,10 +6089,10 @@ node-fetch@^2.6.1:
   dependencies:
     whatwg-url "^5.0.0"
 
-node-forge@^0.10.0:
-  version "0.10.0"
-  resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.10.0.tgz#32dea2afb3e9926f02ee5ce8794902691a676bf3"
-  integrity sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==
+node-forge@^1.2.0:
+  version "1.2.1"
+  resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.2.1.tgz#82794919071ef2eb5c509293325cec8afd0fd53c"
+  integrity sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w==
 
 node-gyp@^5.0.2:
   version "5.1.1"
@@ -7424,12 +7424,12 @@ select2@^4.0.10:
   resolved "https://registry.yarnpkg.com/select2/-/select2-4.0.13.tgz#0dbe377df3f96167c4c1626033e924372d8ef44d"
   integrity sha512-1JeB87s6oN/TDxQQYCvS5EFoQyvV6eYMZZ0AeA4tdFDYWN3BAGZ8npr17UBFddU0lgAt3H0yjX3X6/ekOj1yjw==
 
-selfsigned@^1.10.7:
-  version "1.10.14"
-  resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.14.tgz#ee51d84d9dcecc61e07e4aba34f229ab525c1574"
-  integrity sha512-lkjaiAye+wBZDCBsu5BGi0XiLRxeUlsGod5ZP924CRSEoGuZAw/f7y9RKu28rwTfiHVhdavhB0qH0INV6P1lEA==
+selfsigned@^2.0.0:
+  version "2.0.0"
+  resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-2.0.0.tgz#e927cd5377cbb0a1075302cff8df1042cc2bce5b"
+  integrity sha512-cUdFiCbKoa1mZ6osuJs2uDHrs0k0oprsKveFiiaBKCNq3SYyb5gs2HxhQyDNLCmL51ZZThqi4YNDpCK6GOP1iQ==
   dependencies:
-    node-forge "^0.10.0"
+    node-forge "^1.2.0"
 
 "semver@2 || 3 || 4 || 5", semver@^5.6.0, semver@^5.7.1:
   version "5.7.1"