<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ZScaler &#8211; My Shitty Code</title>
	<atom:link href="https://myshittycode.com/tag/zscaler/feed/" rel="self" type="application/rss+xml" />
	<link>https://myshittycode.com</link>
	<description>Embracing the Messiness in Search of Epic Solutions</description>
	<lastBuildDate>Mon, 20 May 2024 14:01:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://myshittycode.com/wp-content/uploads/2022/04/cropped-icon-32x32.png</url>
	<title>ZScaler &#8211; My Shitty Code</title>
	<link>https://myshittycode.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">205304208</site>	<item>
		<title>Git LFS: &#8220;Certificate Signed by Unknown Authority&#8221; Error</title>
		<link>https://myshittycode.com/2024/05/20/git-lfs-certificate-signed-by-unknown-authority-error/</link>
					<comments>https://myshittycode.com/2024/05/20/git-lfs-certificate-signed-by-unknown-authority-error/#respond</comments>
		
		<dc:creator><![CDATA[Shitty Author]]></dc:creator>
		<pubDate>Mon, 20 May 2024 14:01:16 +0000</pubDate>
				<category><![CDATA[Development Tools]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[ZScaler]]></category>
		<guid isPermaLink="false">https://myshittycode.com/?p=2593</guid>

					<description><![CDATA[<p>Problem Your organization enforces zero-trust network access (ex: Zscaler or equivalent). Based on the ZScaler’s documentation, you made a copy of the Zscaler certificate and added it to Git. The Git’s core commands work successfully. However, when using Git LFS to manage large binary files, it failed with the following errors. Solution Instead of explicitly [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2024/05/20/git-lfs-certificate-signed-by-unknown-authority-error/">Git LFS: &#8220;Certificate Signed by Unknown Authority&#8221; Error</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><ul><li><a href="#problem">Problem</a></li><li><a href="#solution">Solution</a></li></ul></nav></div>



<h2 class="wp-block-heading" id="problem">Problem</h2>



<p>Your organization enforces zero-trust network access (ex: Zscaler or equivalent).</p>



<p>Based on the <a href="https://help.zscaler.com/zia/adding-custom-certificate-application-specific-trust-store" data-type="link" data-id="https://help.zscaler.com/zia/adding-custom-certificate-application-specific-trust-store" target="_blank" rel="noopener">ZScaler’s documentation</a>, you made a copy of the Zscaler certificate and added it to Git.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
git config --global http.sslcainfo ~/ca_certs/zscaler.pem
</pre></div>


<p>The Git’s core commands work successfully. However, when using <a href="https://git-lfs.com/" data-type="link" data-id="https://git-lfs.com/" target="_blank" rel="noopener">Git LFS</a> to manage large binary files, it failed with the following errors.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$ git push
Uploading LFS objects:   0% (0/3), 0 B | 0 B/s, done.                                                                                
LFS: Put &quot;https://github-cloud.s3.amazonaws.com/alambic/media/703534560/85/85/858586aa357aa9e8c78f64d76a5d6a866ff4f06160508ac5af50175b604b0c77?actor_id=6835135&amp;amp;key_id=0&amp;amp;repo_id=779032228&quot;: tls: failed to verify certificate: x509: certificate signed by unknown authority
LFS: Put &quot;https://github-cloud.s3.amazonaws.com/alambic/media/703534560/5c/47/5c4796e25fcb54726bd605f825d3f53c0804164186ee989af5649164d5026a10?actor_id=6835135&amp;amp;key_id=0&amp;amp;repo_id=779032228&quot;: tls: failed to verify certificate: x509: certificate signed by unknown authority
LFS: Put &quot;https://github-cloud.s3.amazonaws.com/alambic/media/703534560/9c/76/9c766b0bf3e91eed522df3c5e508ce33a6c781a4891c8395154149eb60b537e0?actor_id=6835135&amp;amp;key_id=0&amp;amp;repo_id=779032228&quot;: tls: failed to verify certificate: x509: certificate signed by unknown authority
error: failed to push some refs to &#039;github.com:xxxxxxx/my-repo.git&#039; 
</pre></div>


<h2 class="wp-block-heading" id="solution">Solution</h2>



<p>Instead of explicitly pointing to a ZScaler certificate, configure Git to rely on the device’s global trust store, where your security team should have already added the ZScaler certificate.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
git config --global http.sslBackend openssl
git config --global --unset http.sslcainfo
</pre></div>


<p>Now, Git LFS commands will work successfully.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$ git push
Uploading LFS objects: 100% (3/3), 194 MB | 26 MB/s, done.
Enumerating objects: 1292, done.
Counting objects: 100% (1292/1292), done.
Delta compression using up to 11 threads
Compressing objects: 100% (1280/1280), done.
Writing objects: 100% (1280/1280), 83.42 MiB | 6.93 MiB/s, done.
Total 1280 (delta 751), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (751/751), completed with 6 local objects.
To github.com:xxxxxxx/my-repo.git
4075ed3..ce4a0e7 main -&gt; main
sh-3.2$ git status
On branch main
Your branch is up to date with &#039;origin/main&#039;.

nothing to commit, working tree clean
</pre></div>


<p></p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2024/05/20/git-lfs-certificate-signed-by-unknown-authority-error/">Git LFS: &#8220;Certificate Signed by Unknown Authority&#8221; Error</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://myshittycode.com/2024/05/20/git-lfs-certificate-signed-by-unknown-authority-error/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2593</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching 55/67 queries in 0.039 seconds using Disk

Served from: myshittycode.com @ 2026-02-20 01:41:11 by W3 Total Cache
-->