Pass certificate chain as a list of strings, not as path or file

Allow passing certificate chain as a list of strings instead of FS
folder or file. Useful when you do not have or do not want access to FS.
All existing unit tests pass. New unit tests must be written to validate
the new functionality.