<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Can you include the git command you are running and the error you see? &nbsp;</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature"><br>------</div><div><br>On Jun 12, 2016, at 12:01 PM, Robert Steckroth &lt;<a href="mailto:robertsteckroth@gmail.com">robertsteckroth@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><br>corollarily ;)<div>It seems that git is not using the Comodo CA chain in its internal workings. I need to switch registrars maybe..</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 12, 2016 at 7:50 AM, Carl T. Miller <span dir="ltr">&lt;<a href="mailto:carl@carltm.com" target="_blank">carl@carltm.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Any certificate that is created for use on a server<br>
contains the info about the CA that can verify it.<br>
And if there is a chain, it will have info for each<br>
of the CAs.<br>
<br>
If you want, just a copy of the certificate and I'll<br>
run the commands and show you the output.<br>
<div class="HOEnZb"><div class="h5"><br>
c<br>
<br>
<br>
Robert Steckroth wrote:<br>
&gt; Well, the Certificate Authority made the certificate and I would like to<br>
&gt; know which chain it belongs with the local CA certificates. Maybe it<br>
&gt; requires many commands??<br>
&gt;<br>
&gt; On Sat, Jun 11, 2016 at 8:59 PM, Carl T. Miller &lt;<a href="mailto:carl@carltm.com">carl@carltm.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; If I understand correctly, you're saying you want to<br>
&gt;&gt; know which installed CA certificate is used to verify<br>
&gt;&gt; the certificates which you create.&nbsp; Is that it?&nbsp; If<br>
&gt;&gt; so, just take a certificate that you created and run<br>
&gt;&gt; the commands on it.<br>
&gt;&gt;<br>
&gt;&gt; (create a file for each cert including the "BEGIN<br>
&gt;&gt; CERTIFICATE" and "END CERTIFICATE" lines)<br>
&gt;&gt; openssl x509 -noout -text -purpose -in onecert<br>
&gt;&gt;<br>
&gt;&gt; c<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Robert Steckroth wrote:<br>
&gt;&gt; &gt; Yes, thank you for the response Carl. I need to know what certificate<br>
&gt;&gt; &gt; corresponds with the installed CA certificates. It is not just the<br>
&gt;&gt; &gt; browsers<br>
&gt;&gt; &gt; which verify certificates with a CA-certificate, it is every platform<br>
&gt;&gt; that<br>
&gt;&gt; &gt; uses https. Therefore, in order to manually verify a remotely served<br>
&gt;&gt; &gt; certificate is trusted, I need to know which CA-certificate it was<br>
&gt;&gt; created<br>
&gt;&gt; &gt; from on the local file system. It just seems like a simple terminal<br>
&gt;&gt; &gt; command<br>
&gt;&gt; &gt; would locate the CA-certificate for any given certificate, but<br>
&gt;&gt; research<br>
&gt;&gt; &gt; has<br>
&gt;&gt; &gt; proved time consuming.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Sat, Jun 11, 2016 at 4:58 PM, Carl T. Miller &lt;<a href="mailto:carl@carltm.com">carl@carltm.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; When you connect to a website with a browser (or the<br>
&gt;&gt; &gt;&gt; openssl client) you get a copy of the certificate<br>
&gt;&gt; &gt;&gt; directly from the webserver.&nbsp; If you want to know where<br>
&gt;&gt; &gt;&gt; the certificate is stored locally, you'd have to look<br>
&gt;&gt; &gt;&gt; at the configuration of the webserver.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; You also mentioned a CA hosted through namecheap.&nbsp; That<br>
&gt;&gt; &gt;&gt; would give you the ability to create certificates.<br>
&gt;&gt; &gt;&gt; You should be able to access the secret key file and<br>
&gt;&gt; &gt;&gt; the certificate file for any certificate you have created.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; In addition to this, it is common for your browser to<br>
&gt;&gt; &gt;&gt; use certificates to verify well-known CAs.&nbsp; Look in your<br>
&gt;&gt; &gt;&gt; browser's configuration to manage to view and, perhaps,<br>
&gt;&gt; &gt;&gt; delete these certificates.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; So...the first paragraph describes a certificate in use.<br>
&gt;&gt; &gt;&gt; The second describes a certificate which may or may not<br>
&gt;&gt; &gt;&gt; be in use.&nbsp; The third describes certificates which have<br>
&gt;&gt; &gt;&gt; been installed, and can verify a certificate in use.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; My question to you...what certificate is it that you<br>
&gt;&gt; &gt;&gt; want to find?&nbsp; One you use currently, one that you<br>
&gt;&gt; &gt;&gt; created, or one that has been installed?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; c<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Robert Steckroth wrote:<br>
&gt;&gt; &gt;&gt; &gt; Well, I don't know then.. I am under the impression that when a<br>
&gt;&gt; remote<br>
&gt;&gt; &gt;&gt; &gt; server sends a certificate, it needs to be verified against the<br>
&gt;&gt; &gt;&gt; &gt; certificates in the local file system to ensure that there is no<br>
&gt;&gt; &gt;&gt; &gt; middleman.<br>
&gt;&gt; &gt;&gt; &gt; So, shouldn't openssl be able to return the local path the any<br>
&gt;&gt; certs<br>
&gt;&gt; &gt;&gt; which<br>
&gt;&gt; &gt;&gt; &gt; correspond to the one sent by the remote?<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; On Sat, Jun 11, 2016 at 10:18 AM, Carl T. Miller &lt;<a href="mailto:carl@carltm.com">carl@carltm.com</a>&gt;<br>
&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; Hi Robert,<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; You can use openssl to retrieve and view the certificates on a<br>
&gt;&gt; &gt;&gt; &gt;&gt; webserver.<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; To retrieve all certs on a server:<br>
&gt;&gt; &gt;&gt; &gt;&gt; openssl s_client -connect <a href="http://www.carltm.com:443" rel="noreferrer" target="_blank">www.carltm.com:443</a> -showcerts | tee<br>
&gt;&gt; &gt;&gt; allcerts<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; To view each cert:<br>
&gt;&gt; &gt;&gt; &gt;&gt; (create a file for each cert including the "BEGIN CERTIFICATE" and<br>
&gt;&gt; &gt;&gt; &gt;&gt; "END CERTIFICATE" lines)<br>
&gt;&gt; &gt;&gt; &gt;&gt; openssl x509 -noout -text -purpose -in onecert<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; I hope this helps with your investigation.<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; c<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; Robert Steckroth wrote:<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; Hello everyone, I have a interesting question for those of you<br>
&gt;&gt; with<br>
&gt;&gt; &gt;&gt; &gt;&gt; https<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; experience.<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; I have a certificate authority (through namecheap), chained to<br>
&gt;&gt; my<br>
&gt;&gt; &gt;&gt; ssl<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; key/certificate which is distributed by a Ubuntu server. The<br>
&gt;&gt; https<br>
&gt;&gt; &gt;&gt; &gt;&gt; content<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; server is nodejs and serves the ssl cert to three types of<br>
&gt;&gt; &gt;&gt; platforms:<br>
&gt;&gt; &gt;&gt; &gt;&gt; web<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; browsers, git repositories, and a qt desktop application. The<br>
&gt;&gt; https<br>
&gt;&gt; &gt;&gt; &gt;&gt; server<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; works find on browsers (with the green https uri text). The<br>
&gt;&gt; problem<br>
&gt;&gt; &gt;&gt; &gt;&gt; is, I<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; need to know where the CA certificate is kept on my local ubuntu<br>
&gt;&gt; &gt;&gt; file<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; system in order to add it to the qt application and to the git<br>
&gt;&gt; &gt;&gt; config.<br>
&gt;&gt; &gt;&gt; &gt;&gt; I<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; think maybe it is a cheap CA sense git does not already know<br>
&gt;&gt; about<br>
&gt;&gt; &gt;&gt; the<br>
&gt;&gt; &gt;&gt; &gt;&gt; CA<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; on the file system (it works if I add it manually via git config<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; http.sslCAInfo). Anyways, I still would like to know if there is<br>
&gt;&gt; a<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; terminal<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; command to find which CA my cert belongs to on the file system.<br>
&gt;&gt; It<br>
&gt;&gt; &gt;&gt; &gt;&gt; seems<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; that they are everywhere on it, jeesh.<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; ______________________________________________________<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; washlug mailing list&nbsp; &nbsp; washlug web site<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; <a href="mailto:washlug@washlug.org">washlug@washlug.org</a>&nbsp; &nbsp; &nbsp;<a href="http://www.washlug.org" rel="noreferrer" target="_blank">www.washlug.org</a><br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; <a href="http://linux.marcdatabase.com/mailman/listinfo/washlug" rel="noreferrer" target="_blank">http://linux.marcdatabase.com/mailman/listinfo/washlug</a><br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; ______________________________________________________<br>
&gt;&gt; &gt;&gt; &gt;&gt; washlug mailing list&nbsp; &nbsp; washlug web site<br>
&gt;&gt; &gt;&gt; &gt;&gt; <a href="mailto:washlug@washlug.org">washlug@washlug.org</a>&nbsp; &nbsp; &nbsp;<a href="http://www.washlug.org" rel="noreferrer" target="_blank">www.washlug.org</a><br>
&gt;&gt; &gt;&gt; &gt;&gt; <a href="http://linux.marcdatabase.com/mailman/listinfo/washlug" rel="noreferrer" target="_blank">http://linux.marcdatabase.com/mailman/listinfo/washlug</a><br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; --<br>
&gt;&gt; &gt;&gt; &gt; &lt;surgemcgee&gt;<br>
&gt;&gt; &gt;&gt; &gt; ______________________________________________________<br>
&gt;&gt; &gt;&gt; &gt; washlug mailing list&nbsp; &nbsp; washlug web site<br>
&gt;&gt; &gt;&gt; &gt; <a href="mailto:washlug@washlug.org">washlug@washlug.org</a>&nbsp; &nbsp; &nbsp;<a href="http://www.washlug.org" rel="noreferrer" target="_blank">www.washlug.org</a><br>
&gt;&gt; &gt;&gt; &gt; <a href="http://linux.marcdatabase.com/mailman/listinfo/washlug" rel="noreferrer" target="_blank">http://linux.marcdatabase.com/mailman/listinfo/washlug</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; ______________________________________________________<br>
&gt;&gt; &gt;&gt; washlug mailing list&nbsp; &nbsp; washlug web site<br>
&gt;&gt; &gt;&gt; <a href="mailto:washlug@washlug.org">washlug@washlug.org</a>&nbsp; &nbsp; &nbsp;<a href="http://www.washlug.org" rel="noreferrer" target="_blank">www.washlug.org</a><br>
&gt;&gt; &gt;&gt; <a href="http://linux.marcdatabase.com/mailman/listinfo/washlug" rel="noreferrer" target="_blank">http://linux.marcdatabase.com/mailman/listinfo/washlug</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; &lt;surgemcgee&gt;<br>
&gt;&gt; &gt; ______________________________________________________<br>
&gt;&gt; &gt; washlug mailing list&nbsp; &nbsp; washlug web site<br>
&gt;&gt; &gt; <a href="mailto:washlug@washlug.org">washlug@washlug.org</a>&nbsp; &nbsp; &nbsp;<a href="http://www.washlug.org" rel="noreferrer" target="_blank">www.washlug.org</a><br>
&gt;&gt; &gt; <a href="http://linux.marcdatabase.com/mailman/listinfo/washlug" rel="noreferrer" target="_blank">http://linux.marcdatabase.com/mailman/listinfo/washlug</a><br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________________________________<br>
&gt;&gt; washlug mailing list&nbsp; &nbsp; washlug web site<br>
&gt;&gt; <a href="mailto:washlug@washlug.org">washlug@washlug.org</a>&nbsp; &nbsp; &nbsp;<a href="http://www.washlug.org" rel="noreferrer" target="_blank">www.washlug.org</a><br>
&gt;&gt; <a href="http://linux.marcdatabase.com/mailman/listinfo/washlug" rel="noreferrer" target="_blank">http://linux.marcdatabase.com/mailman/listinfo/washlug</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; &lt;surgemcgee&gt;<br>
&gt; ______________________________________________________<br>
&gt; washlug mailing list&nbsp; &nbsp; washlug web site<br>
&gt; <a href="mailto:washlug@washlug.org">washlug@washlug.org</a>&nbsp; &nbsp; &nbsp;<a href="http://www.washlug.org" rel="noreferrer" target="_blank">www.washlug.org</a><br>
&gt; <a href="http://linux.marcdatabase.com/mailman/listinfo/washlug" rel="noreferrer" target="_blank">http://linux.marcdatabase.com/mailman/listinfo/washlug</a><br>
&gt;<br>
<br>
<br>
______________________________________________________<br>
washlug mailing list&nbsp; &nbsp; washlug web site<br>
<a href="mailto:washlug@washlug.org">washlug@washlug.org</a>&nbsp; &nbsp; &nbsp;<a href="http://www.washlug.org" rel="noreferrer" target="_blank">www.washlug.org</a><br>
<a href="http://linux.marcdatabase.com/mailman/listinfo/washlug" rel="noreferrer" target="_blank">http://linux.marcdatabase.com/mailman/listinfo/washlug</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">&lt;surgemcgee&gt;<br><br><div><br></div><div><br></div></div></div>
</div>
</div></blockquote><blockquote type="cite"><div><span>______________________________________________________</span><br><span>washlug mailing list &nbsp;&nbsp;&nbsp;washlug web site</span><br><span><a href="mailto:washlug@washlug.org">washlug@washlug.org</a> &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.washlug.org">www.washlug.org</a></span><br><span><a href="http://linux.marcdatabase.com/mailman/listinfo/washlug">http://linux.marcdatabase.com/mailman/listinfo/washlug</a></span><br></div></blockquote></body></html>