Line 60:
Line 60:
[root@e-smith ~]# '''nano -w /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/05PublicKeyPinning'''
[root@e-smith ~]# '''nano -w /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/05PublicKeyPinning'''
−
Edit the file to contain the following lines:
+
Edit the file to contain the following lines, replacing the values for pin-sha256 with the hashes you determined above, and adding or removing pin-sha256 lines as required:
### Enable HTTP Public Key Pinning, lifetime 24 hours
### Enable HTTP Public Key Pinning, lifetime 24 hours