Time for action – enabling strong encryption
GeoServer can store passwords in an encrypted format. You can select the encryption type from the basic security settings page. We will enable strong encryption by adding a couple of files to our installation.
The first step is getting the files you need. Open your browser and point to http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html.
Note
We are assuming that you are using Oracle Java™ 6; we installed it in Chapter 2, Getting Started with GeoServer. If you are using Oracle Java™ 7, download the files at http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html. You should not use Java™ 5 or the previous versions with GeoServer.
Accept the license agreement and then the download link will be available. Save the archive to a convenient folder and explore it:
There are three files inside the archive. You need to copy the two JAR files to your
<java-home>/lib/security
folder:~/JCE6$ ls ...