While testing the fix for trigger, we fixed the corresponding
trigger example. While on it, we detected that ssl-factory example was
not working either so it is fixed in this commit as well.
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18264