Categories: NetworkingPKISecurity

How to bypass NET::ERR_CERT_INVALID on Chrome

<div> &NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2526 " id&equals;"quads-ad2526" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine; <h2>Locked out of accessing my firewall<&sol;h2><p>After I changed my Antivirus software I used to access a remote firewall publicly on the internet&period; This firewall has a local selfsigned certificate that no web browser trusts&period;<&sol;p><div> &NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2522 " id&equals;"quads-ad2522" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine; <&sol;div><div> &NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2530 " id&equals;"quads-ad2530" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine; <&sol;div><div> &NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2525 " id&equals;"quads-ad2525" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine; <&sol;div><p>Although I added the root certificate to my root store but still none of the browsers would allow me to access it and result in the below error&colon;<&sol;p><blockquote><p>Your connection is not private<br>&NewLine;Attackers might be trying to steal your information from myapp&period;domain&period;com &lpar;for example&comma; passwords&comma; messages&comma; or credit cards&rpar;&period; Learn more<br>&NewLine;NET&colon;&colon;ERR&lowbar;CERT&lowbar;INVALID<br>&NewLine;myapp&period;domain&period;com normally uses encryption to protect your information&period; When Brave tried to connect to myapp&period;domain&period;com this time&comma; the website sent back unusual and incorrect credentials&period; This may happen when an attacker is trying to pretend to be myapp&period;domain&period;com&comma; or a Wi-Fi sign-in screen has interrupted the connection&period; Your information is still secure because Brave stopped the connection before any data was exchanged&period;<&sol;p>&NewLine;<p>You cannot visit myapp&period;domain&period;com right now because the website sent scrambled credentials that Brave cannot process&period; Network errors and attacks are usually temporary&comma; so this page will probably work later&period;<&sol;p><&sol;blockquote><h2>On Chrome<&sol;h2><p><a href&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2020&sol;06&sol;image-13&period;png"><img style&equals;"margin&colon; 0px&semi; display&colon; inline&semi; background-image&colon; none&semi;" title&equals;"image" src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2020&sol;06&sol;image&lowbar;thumb-13&period;png" alt&equals;"image" width&equals;"785" height&equals;"691" border&equals;"0"><&sol;a> &NewLine;<&sol;p><div> &NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2527 " id&equals;"quads-ad2527" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine; <&sol;div><h2>On Firefox<&sol;h2><p><a href&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2020&sol;06&sol;image-14&period;png"><img style&equals;"display&colon; inline&semi; background-image&colon; none&semi;" title&equals;"image" src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2020&sol;06&sol;image&lowbar;thumb-14&period;png" alt&equals;"image" width&equals;"1028" height&equals;"423" border&equals;"0"><&sol;a><&sol;p><p>I searched the web for many work arounds but none of them almost worked including this one which says you can use &ldquo&semi;Thisisunsafe&rdquo&semi; or &ldquo&semi;badidea&rdquo&semi; on chrome but it did not work&period;<&sol;p><p><a href&equals;"https&colon;&sol;&sol;medium&period;com&sol;&commat;dblazeski&sol;chrome-bypass-net-err-cert-invalid-for-development-daefae43eb12">https&colon;&sol;&sol;medium&period;com&sol;&commat;dblazeski&sol;chrome-bypass-net-err-cert-invalid-for-development-daefae43eb12<&sol;a><&sol;p><h2>Using Fiddler<&sol;h2><p>Since I use fiddler to sniff packets and troubleshoot issues on my computer&comma; I remembered that Fiddler has the feature of decrypting traffic &lpar;MITM&rpar;&period; Fiddler inserts its own root certs and force the traffic to go through it first which makes all the websites trusted even in the case of this error &colon;&colon;ERR&lowbar;CERT&lowbar;INVALID<&sol;p><h2>Solution&colon;<&sol;h2><p>So to make this work even temporarily so you can access whatever page you lost access to&period; All you have to do is&colon;<&sol;p><ul>&NewLine;<li>Install Fiddler<&sol;li>&NewLine;<li>Let Fiddler Decrypt traffic&colon; To do this go to Tools&gt&semi; Options &gt&semi; HTTPS and select &ldquo&semi;Capture HTTPS Connects and Decrypt Traffic&rdquo&semi;<&sol;li>&NewLine;<li>Accept and import the root certificates&period;<&sol;li>&NewLine;<li>Click Ok<&sol;li>&NewLine;<li>Start Capturing traffic by clicking on the left corner icon <a href&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2020&sol;06&sol;image-15&period;png"><img style&equals;"margin&colon; 0px&semi; display&colon; inline&semi; background-image&colon; none&semi;" title&equals;"image" src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2020&sol;06&sol;image&lowbar;thumb-15&period;png" alt&equals;"image" width&equals;"206" height&equals;"67" border&equals;"0"><&sol;a><&sol;li>&NewLine;<&sol;ul><p><a href&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2020&sol;06&sol;image-16&period;png"><img style&equals;"display&colon; inline&semi; background-image&colon; none&semi;" title&equals;"image" src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2020&sol;06&sol;image&lowbar;thumb-16&period;png" alt&equals;"image" width&equals;"544" height&equals;"367" border&equals;"0"><&sol;a><&sol;p><ul>&NewLine;<li>Now try to browse the page you couldn&rsquo&semi;t access previously and you&rsquo&semi;ll get a prompt to accept its certificate&period; Click Yes if you&rsquo&semi;re sure of the page and continue&period;<&sol;li>&NewLine;<&sol;ul><p><a href&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2020&sol;06&sol;image-17&period;png"><img style&equals;"display&colon; inline&semi; background-image&colon; none&semi;" title&equals;"image" src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2020&sol;06&sol;image&lowbar;thumb-17&period;png" alt&equals;"image" width&equals;"975" height&equals;"653" border&equals;"0"><&sol;a><&sol;p><p>Here we go&comma; I got back access to my Pfsense but notice you&rsquo&semi;ll only be able to access the URL if the capturing is on&period;<&sol;p><p>The moment you turn Capturing off the page will not be accessible again&period;<&sol;p><div> &NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2529 " id&equals;"quads-ad2529" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine; <&sol;div><p><a href&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2020&sol;06&sol;clip&lowbar;image001-1&period;png"><img style&equals;"margin&colon; 0px&semi; display&colon; inline&semi; background-image&colon; none&semi;" title&equals;"clip&lowbar;image001" src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2020&sol;06&sol;clip&lowbar;image001&lowbar;thumb-1&period;png" alt&equals;"clip&lowbar;image001" width&equals;"1028" height&equals;"565" border&equals;"0"><&sol;a><&sol;p><&sol;div>&NewLine;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2523 " id&equals;"quads-ad2523" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;

moh10ly

Recent Posts

Reset passwords for Active Directory Users

Reset and manage your Active Directory users' Passwords Active Directory is one of the most…

3 years ago

Finding Exchange Database hidden mailboxes. ​

Finding Exchange Database hidden mailboxes. Story:Maybe you have been in this situation before, trying to…

3 years ago

Setting up ADConnect and PTA (Password auth through) servers agents behind proxy

If you're using a Proxy server in your firewall or in your network and have…

3 years ago

Get Report of Active Directory Locked Accounts and Machine they logged in from

Story:I got some clients  that have reported some of their users being locked out and…

3 years ago

Checking and Providing Full and SendAs delegate access on O365 Exchange Online

Delegate Permissions This is a code that I have wrote recently to check if an…

3 years ago

Retrieving attachments from Exchange mailbox using python

Story: I got a request from a client who constantly gets CVs and have to…

4 years ago

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298