anyproxy
anyproxy copied to clipboard
Provide an option for AnyProxy to use an existing CA certificate
Which platform are you running AnyProxy
MacOS
The version of the AnyProxy
4.0.5
Your expected behavior of AnyProxy
Provide an option for AnyProxy to use an existing CA certificate
The actual behavior of AnyProxy
AnyProxy does not currently provide this functionality
Same here. I would like to generate an in-memory, temporary certificate, e.g.
// @flow
import {
promisify
} from 'util';
import pem from 'pem';
import type {
SslCertificateType
} from '../types';
const createCertificate = promisify(pem.createCertificate);
const createSslCertificate = async (): Promise<SslCertificateType> => {
const {
certificate,
csr,
serviceKey
} = await createCertificate({
days: 365,
selfSigned: true
});
return {
certificate,
csr,
serviceKey
};
};
There is currently no way to feed this to AnyProxy.
I also have this need and ask for help.