File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,6 @@ export interface AddCertOptions {
223
223
}
224
224
225
225
export async function addCertToSystemTrustStoreAndSaveCerts ( cert : string , CAcert : string , options ?: AddCertOptions ) {
226
-
227
226
const certPath = storeCert ( cert , options )
228
227
const CAcertPath = storeCACert ( CAcert , options )
229
228
@@ -246,6 +245,8 @@ export async function addCertToSystemTrustStoreAndSaveCerts(cert: string, CAcert
246
245
247
246
`certutil -d sql:${ os . homedir ( ) } /.pki/nssdb -A -t ${ args } -n ${ DEFAULT_O } -i ${ CAcertPath } ` ,
248
247
248
+ `certutil -d sql:${ os . homedir ( ) } /snap/firefox/common/.mozilla/firefox/3l148raz.default -A -t ${ args } -n ${ DEFAULT_O } -i ${ CAcertPath } ` ,
249
+
249
250
`sudo update-ca-certificates` ,
250
251
] )
251
252
else throw new Error ( `Unsupported platform: ${ platform } ` )
You can’t perform that action at this time.
0 commit comments