This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
perso:dump:mess [2016/09/28 15:41] Jean-Christophe Berthon [Mirroring a folder over a network (rsync/SSH)] |
perso:dump:mess [2017/03/19 23:13] Jean-Christophe Berthon Add section regarding adding trusted Certificate Authority to Synology DSM |
||
---|---|---|---|
Line 144: | Line 144: | ||
exclude=*kmdl*i586* | exclude=*kmdl*i586* | ||
includepkgs=*nvidia-graphics*</code> | includepkgs=*nvidia-graphics*</code> | ||
+ | |||
+ | ==== Add a new Certificate Authority in the list of trusted ones on Synology DSM 6.1 ==== | ||
+ | |||
+ | In order to add a new root certificate (e.g. for an internal CA), you need to do the following assuming your root public certificate is in the file ''my-ca-root.pem''. The file suffixes ''.pem'' or ''.crt'' are interchangeable, but in our case make sure to use the right suffix depending on the location as per our example: | ||
+ | |||
+ | <code>$ sudo cp my-ca-root.pem /usr/share/ca-certificates/mozilla/my-ca-root-pem | ||
+ | $ sudo chmod 0644 /usr/share/ca-certificates/mozilla/my-ca-root.prm | ||
+ | $ sudo ln -s /usr/share/ca-certificates/mozilla/my-ca-root-pem /etc/ssl/certs/my-ca-root.crt | ||
+ | $ cd /etc/ssl/certs | ||
+ | $ sudo ln -s my-ca-root.crt $(sudo openssl x509 -hash -noout -in my-ca-root.crt).0 | ||
+ | $ sudo cat my-ca-root.crt | sudo tee -a ca-certificates.crt</code> | ||
+ | |||
+ | Source: https://forum.synology.com/enu/viewtopic.php?t=93223 | ||
+ | |||
+ | However the source was adapted, but it works on DSM 6.1. | ||
==== Firefox settings optimisation (faster start-up) ==== | ==== Firefox settings optimisation (faster start-up) ==== | ||
Since Firefox 3, many settings (bookmarks, history, etc.) are store into small database files (the ones with the sqlite extension). But after a long utilisation of Firefox, these files get big (and thus slowdown their reading) and their inner data gets sort of fragmented. Now, there is a rather not too difficult way of optimising those files. All you need is sqlite3 program and a small script to do the job. | Since Firefox 3, many settings (bookmarks, history, etc.) are store into small database files (the ones with the sqlite extension). But after a long utilisation of Firefox, these files get big (and thus slowdown their reading) and their inner data gets sort of fragmented. Now, there is a rather not too difficult way of optimising those files. All you need is sqlite3 program and a small script to do the job. | ||
- | //**Update 2016-09**: I would have to verify to be sure, but I think Firefox must be doing those sqlite databse maintenance form time to time (or sqlite is automatically doing now) because since a few years now this trick does not bring any visible changes.// | + | //**Update 2016-09**: I would have to verify to be sure, but I think Firefox must be doing those sqlite databse maintenance from time to time (or sqlite is automatically doing now) because since a few years now this trick does not bring any visible changes.// |