How do I include a TLS cert and passphrase in my request? #3351
JordanTheriault
started this conversation in
Artillery
Replies: 1 comment
-
Update: I've also tried putting the file into an environment variable and loading it that way, but because it's a binary file, this method isn't working. I've also used the vu environment to try and load it in. I've also tried using buffer In the processor, I'm able to create a buffer object using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a
.p12
cert file and passphrase that I need to use in order to call a service. Everything is working well when tested in Postman or a similar application. But I can't find any reading on how to include them in the request within Artillery's docs.I found a plugin called
http-ssl
, but I can't find a way to get it working, it appears to be out of date. Especially since a "cert" is not used by the new HTTP enginegot
, and I thinkpfx
appears to be the right one for me since I'm using ap12
cert.I've configured it according to this post: #1244 (comment)
It seems to be working, however my issue is that I need to load the file into the config somehow, to provide a byte stream of the
pfx
file.Can anyone help me get this working?
Beta Was this translation helpful? Give feedback.
All reactions