I guess, the "+ 26" should be on the beginIdx's of both "-----BEGIN PRIVATE KEY" "-----BEGIN CERTIFICATE" and not on the endIdx.
--- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/commit/59f0ae490fdc921944f6abd157d71e07255ed404#commitcomment-12313418
