I believe this is the stuff that JRMichler is talking about
:
You can use silicone caulking to keep it in place and even double it up where needed.
I've used it for sealing up gaps between structures before and smaller versions for ecomodding purposes on cars. It holds up to weather very well.