Java JCE for Debian Beaglebone

I needed to add SSL support for the new Fabric web service running on the Beaglebone Black.  I’m worried about the typical authorization / authentication issues and have not found a ton of support online for how to manage this in Spray.  The main bit of work that I had to do to add this was to include the JCE jars for the JRE installation.  Not terribly difficult and just like the earlier post for installing the JDK to begin with.

$ wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie"
$ unzip 
$ cd UnlimitedJCEPolicyJDK8/
$ sudo mv * /opt/jdk/jdk1.8.0_33/jre/lib/security/

Restarting the service picked up the new jars no problem.

Beaglebone Debian SPI setup

It’s been surprisingly difficult to find consensus on how to set up the Debian SPI interface on the Beaglebone Black.  Fortunately, Maniacal Labs has posted a nice easy approach that can be easily modified for Debian.

Load uEnv.txt either by plugging the BBB into your computer via USB or via:

sudo nano /boot/uEnv.txt

Paste the following line at the end of the file:

optargs=quiet drm.debug=7 capemgr.enable_partno=BB-SPIDEV0

Save the file and reboot your beaglebone black:

sudo reboot

Make sure it is enabled:

ls -al /dev/spidev*

You should see the following:

crw-rw---T 1 root spi 153, 1 May 15 02:22 /dev/spidev1.0
crw-rw---T 1 root spi 153, 0 May 15 02:22 /dev/spidev1.1

Most of this was copied from the instructions on