Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 309 Bytes

File metadata and controls

21 lines (16 loc) · 309 Bytes

ut-function.cert

Producing ready to be used object with loaded TLS certificate files from filepaths

Installation

npm i ut-function.cert

Usage examples

const config = {
    tls: {
        cert: './the-cert.crt',
        ca: './the-ca.crt'
    }
};
const result = cert(config);