<?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>Jupiter-notebook &#8211; LarryLai</title>
	<atom:link href="https://larrylai.com/tag/jupiter-notebook/feed/" rel="self" type="application/rss+xml" />
	<link>https://larrylai.com</link>
	<description>兼聽則明 偏聽則暗</description>
	<lastBuildDate>Sat, 02 Apr 2022 01:24:13 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://larrylai.com/wp-content/uploads/2017/03/larrylai_com-favicon.png</url>
	<title>Jupiter-notebook &#8211; LarryLai</title>
	<link>https://larrylai.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>SSL Key Ownership</title>
		<link>https://larrylai.com/ssl-key-ownership/</link>
					<comments>https://larrylai.com/ssl-key-ownership/#respond</comments>
		
		<dc:creator><![CDATA[larry]]></dc:creator>
		<pubDate>Sun, 09 Feb 2020 07:39:51 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[certbot]]></category>
		<category><![CDATA[Jupiter-notebook]]></category>
		<category><![CDATA[letsencrypt]]></category>
		<category><![CDATA[ssl-key]]></category>
		<guid isPermaLink="false">http://larrylai.com/?p=3775</guid>

					<description><![CDATA[<p>Issue: After receiving renewal notice from Let&#8217;s Encrypt for Jupyter server, go to the virtual machine hosting Jupyter and renew the key successfully. But cannot login to the jupyter notebook from https. Solution Remove the symbolic link of privkey.pem under /etc/letsencrypt/live/[mydomain]/privkey.pem recreate the symbolic link with the dedicated user running Jupyter notebook. Run command as [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/ssl-key-ownership/">SSL Key Ownership</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Issue:</strong><br />
After receiving renewal notice from Let&#8217;s Encrypt for Jupyter server, go to the virtual machine hosting Jupyter and renew the key successfully. But cannot login to the jupyter notebook from https.</p>
<p><strong>Solution</strong></p>
<ol>
<li style="list-style-type: none;">
<ol>
<li>Remove the symbolic link of privkey.pem under
<pre>/etc/letsencrypt/live/[mydomain]/privkey.pem</pre>
</li>
<li>recreate the symbolic link with the dedicated user running Jupyter notebook.</li>
<li>Run command as root:
<pre>systemctl restart jupyterhub</pre>
</li>
</ol>
</li>
</ol>
<p><strong>Tricks</strong></p>
<ol>
<li style="list-style-type: none;">
<ol>
<li style="list-style-type: none;">
<ul>
<li>As the jupyter server is run by the ownership of a dedicated user, after the renewal, the private key, i.e. privkey.pem must be owned by this user. However, I run the command:
<pre>certbot renew --standalone</pre>
<p>under root.</li>
<li>note that let&#8217;s encrypt command for CentOS 6 is quite different from CentOS7</li>
</ul>
</li>
</ol>
</li>
</ol>
<p><strong>Config</strong></p>
<ol>
<li style="list-style-type: none;">
<ul>
<li>OS: CentOS 7</li>
<li>Jupyter-notebook: 5.7.8</li>
</ul>
</li>
</ol>
<p>The post <a rel="nofollow" href="https://larrylai.com/ssl-key-ownership/">SSL Key Ownership</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://larrylai.com/ssl-key-ownership/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
