diff --git a/.github/actions/ssl/linux/setup-feature-specific-deps/action.yml b/.github/actions/ssl/linux/setup-feature-specific-deps/action.yml index 297f842a6..475dac0a5 100644 --- a/.github/actions/ssl/linux/setup-feature-specific-deps/action.yml +++ b/.github/actions/ssl/linux/setup-feature-specific-deps/action.yml @@ -6,6 +6,7 @@ runs: - name: Install additional OS dependencies for custom CA certs shell: bash run: | + sudo apt-get update sudo apt-get --no-install-recommends install -y \ libglib2.0-0 libnss3 libdbus-1-3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libgtk-3-0 libasound2t64 \ xvfb libxml2-utils diff --git a/package-lock.json b/package-lock.json index 4e9712670..8bcc80082 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28363,7 +28363,6 @@ "lodash": "^4.17.21", "qs": "^6.11.0", "socks-proxy-agent": "^8.0.2", - "system-ca": "^2.0.1", "xmlbuilder": "^15.1.1", "yargs": "^17.6.2" }, @@ -30129,7 +30128,6 @@ "nanoid": "3.3.8", "qs": "^6.11.0", "socks-proxy-agent": "^8.0.2", - "system-ca": "^2.0.1", "tough-cookie": "^6.0.0", "uuid": "^9.0.0", "yup": "^0.32.11" @@ -31931,6 +31929,7 @@ "axios": "^1.9.0", "grpc-reflection-js": "^0.3.0", "is-ip": "^5.0.1", + "system-ca": "^2.0.1", "tough-cookie": "^6.0.0" }, "devDependencies": { diff --git a/packages/bruno-app/src/components/Preferences/General/index.js b/packages/bruno-app/src/components/Preferences/General/index.js index 554dd0d72..0f72e6b07 100644 --- a/packages/bruno-app/src/components/Preferences/General/index.js +++ b/packages/bruno-app/src/components/Preferences/General/index.js @@ -176,11 +176,11 @@ const General = ({ close }) => { name="keepDefaultCaCertificates.enabled" checked={formik.values.keepDefaultCaCertificates.enabled} onChange={formik.handleChange} - className={`mousetrap mr-0 ${formik.values.customCaCertificate.enabled ? '' : 'opacity-25'}`} - disabled={formik.values.customCaCertificate.enabled ? false : true} + className={`mousetrap mr-0 ${formik.values.customCaCertificate.enabled && formik.values.customCaCertificate.filePath ? '' : 'opacity-25'}`} + disabled={formik.values.customCaCertificate.enabled && formik.values.customCaCertificate.filePath ? false : true} />