examples/ssl_uc2.rb in stomp-1.2.9 vs examples/ssl_uc2.rb in stomp-1.2.10

- old
+ new

@@ -23,11 +23,16 @@ def initialize end # Run example. def run ts_flist = [] - ts_flist << "/home/gmallard/sslwork/twocas_tj/serverCA/ServerTJCA.crt" - ssl_opts = Stomp::SSLParams.new(:ts_files => ts_flist.join(",")) + + # Change the following to the location of your CA's signed certificate. + ts_flist << "/home/gmallard/sslwork/2013/TestCA.crt" + + ssl_opts = Stomp::SSLParams.new(:ts_files => ts_flist.join(","), + :fsck => true, + ) # hash = { :hosts => [ {:login => 'guest', :passcode => 'guest', :host => 'localhost', :port => 61612, :ssl => ssl_opts}, ], :reliable => false, # YMMV, to test this in a sane manner