You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nginxCore.html
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1538,7 +1538,7 @@ <h3>Elliptic Curves</h3>
1538
1538
</section>
1539
1539
1540
1540
<sectiondata-state="lab">
1541
-
<h3>Lab 4: SSL Certs</h3>
1541
+
<h3>Lab 4.1: SSL Certs</h3>
1542
1542
<ol>
1543
1543
<li>Create a directory for your certificates and key signatures</li>
1544
1544
<pre><codeclass="linux" data-trimcontenteditable>
@@ -1557,11 +1557,10 @@ <h3>Lab 4: SSL Certs</h3>
1557
1557
<sectiondata-state="lab">
1558
1558
<h3>Lab 4.2: Configure SSL Parameters</h3>
1559
1559
<ol>
1560
-
<li>In conf.d, create and add the following to a new file called <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">ssl.params.conf</span></pre></li>
1560
+
<li>In the new <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">ssl</span></pre> directory, create and add the following to a new file called <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">ssl.params.conf</span></pre></li>
<li>Save and open <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">main.conf</span></pre></li>
1589
+
<li>Save and open <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">server1.conf</span></pre></li>
1592
1590
<li>Add a new <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">return</span></pre> directive in the <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">server</span></pre> context that redirects all traffic to <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">https</span></pre></li>
<li>Add another <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">server</span></pre>listening on <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">433</span></pre>, using<prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">ssl</span></pre> and includes <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">ssl.params.conf</span></pre></li>
1599
+
<li>Add another <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">server</span></pre>context that listens on <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">433</span></pre>, enables<prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">ssl</span></pre>, and includes <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">ssl.params.conf</span></pre></li>
<li>Save and <prestyle="display:inline; color:rgb(240,168,40);"><spanstyle="font-size: 30px;">reload</span></pre> NGINX</li>
1639
1637
<li>Test your site on <ahref="https://www.ssllabs.com/ssltest/" target="_blank">SSL Labs.com</a></li>
1640
1638
<li>Share your results with the class</li>
1639
+
<li>You should receive a "T" rating</li>
1641
1640
</ol>
1642
1641
</div>
1643
1642
@@ -1647,6 +1646,7 @@ <h3>Lab 4.8: Test on SSL Labs.com</h3>
1647
1646
1648
1647
<asideclass ="notes">
1649
1648
<ol>
1649
+
<li>You should recieve a rating of "T," because we're using self-signed certificates (below the T rating in small print should tell you your score if all trust issues are resolved)</li>
0 commit comments