Fitblip / wsstat

Websocket stress testing made beautiful
MIT License
173 stars 24 forks source link

Secure websockets on self-signed certificates #5

Closed fwsGonzo closed 6 years ago

fwsGonzo commented 7 years ago

It does seem like self-signed certificates can't be tested because wsstat can't automatically accept unverifiable certificates. Is this something that an option can be added for?

fwsGonzo commented 7 years ago

I can solve this problem on my end with: change line 9 to just import ssl and

line 137: websocket = yield from websockets.connect(**connection_args, ssl=ssl._create_unverified_context())

Fitblip commented 7 years ago

Hey @fwsGonzo - sorry for the delay! I can add that as an option for sure, I'm just really busy with work stuff right now so it might take a bit.

Cheers!

abawchen commented 6 years ago

@Fitblip If it is okay, I can take care this issue by adding -s --self-signed-cert as the args.