title: How to use SSL with a self-signed certificate in groovy?
body: <p>I have some resources I must access with SSL that use self-signed certificates.  In general, most tools have a simple setting to allow these to be accessed without error or just a warning.  However, it seems like the proper way to do this with the JVM is to import the signing certificate into a keystore as a CA.</p>
  
  <p>I have a groovy script I'd like to use, but I'd prefer my script to work standalone on any any JVM without modifying the keystore or distributing a new keystore.  Is there a simple way to override the certification verification?</p>