seleniumwire-ca.pem not generating properly
Sometimes the file doesn't generate properly
Examples
Sometimes generates like this
-----BEGIN CERTIFICATE----- CERT -----END CERTIFICATE----------BEGIN PRIVATE KEY----- (on the same line, I need to break it up for it to work) KEY -----END PRIVATE KEY-----
or one other thing I noticed was like this
-----BEGIN CERTIFICATE----- CERT -----END CERTIFICATE--------BEGIN PRIVATE KEY----- (Not enough '-' after END CERTIFICATE and before BEGIN PRIVATE KEY ) KEY -----END PRIVATE KEY-----
I am using FireFox 95.0.3
I encountered the same error because you used pyinstaller or other packaging。 If you run directly in Python, there is no problem
I have made it so if the file exist and is broken it splits up that one line, I really hope someone can fix this properly
@CMTFrostyy Thanks for raising this.
How are you installing Selenium Wire - are you using pip install or some other method, e.g. pyinstaller?
Also, what OS are you using?
If use pyinstaller on windows, has this Issues!