Thanks, Mike.
This makes sense now.
Scott
Announcement
Collapse
No announcement yet.
MvCALL - Both Cert & Key
Collapse
X
-
Scott,
We just opened the key file and renamed it combined.pem. Then opened up the cert file and copied its content into the combined pem file below the key.
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQ DAENt2gWEAdVhE
fXLQrZAumflAwDwOzKldVsFMIREQYrih85Uk49G+eh8o9QG0F9 D6gvNNViZRc6aB
ETC...
-----END PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
MIIG6zCCBdOgAwIBAgIRALMHAERHIowuB20GYjkojC0wDQYJKo ZIhvcNAQELBQAw
gZUxCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbm NoZXN0ZXIxEDAO
BgNVBAcTB1NhbGZvcmQxGDAWBgNVBAoTD1NlY3RpZ28gTGltaX RlZDE9MDsGA1UE
AxM0U2VjdGlnbyBSU0EgT3JnYW5pemF0aW9uIFZhbGlkYXRpb2 4gU2VjdXJlIFNl
cnZlciBDQTAeFw0yMzAzMDIwMDAwMDBaFw0yNDAzMjkyMzU5NT laMFkxCzAJBgNV
ETC...
-----END CERTIFICATE-----
It worked great.
-mike
Leave a comment:
-
Mike,
Cool. I anticipate I'd need to do this some day. How did you make the combined pem file?
Scott
Leave a comment:
-
David - that worked! We just stacked the key and cert into one "combined.pem" file and referenced with CERTFILE.
Scott - thanks for jumping in! Appreciated.
-mike
Leave a comment:
-
Hey Scott,
That's the confussion. We do use the CERTFILE but it only allows one. Because the documentation says "... or set of certificates" we thought it might handle more than one. But we've had no luck. And my understanding is that it's not really "passed" in the header; rather it's used without sending to get a successful handshake.
-mike
Leave a comment:
-
I believe you would just put your key, then cert, in a PEM-format file and refer to it with CERTFILE, CERTTYPE and optionally CERTPASS per http://www.mivascript.com/item/mivas...gs/MvCALL.html
Leave a comment:
-
If I am understanding the context, each will be passed as a header or:
Miva Script Version [ 5.38 ]: Search.
The CERT attributes might help. I don't recall working with these personally.
There doesn't appear to be an example either.
Scott
Leave a comment:
-
MvCALL - Both Cert & Key
How does one include both the cert AND key when using MvCall? In python it's cert=(CERT,KEY). In curl --cert cert.crt --key key.crt
Hoping it's possible since it's a requirement.
Thanks,
-mike
Tags: None
Leave a comment: