sleeyax/burp-awesome-tls

Error: open ca.der: permission denied

NotoriousRebel opened this issue · 1 comments

Using Burp Suite Pro v2023.10.1.2 on an ubuntu 22 VM, when attempting to load the extention I get the following error:

image

What directory are these files created in? I looked in certificate.go but couldn't find it. If I know the target directory I can just chown it and that should fix this issue.

It's stored in the current working directory of burp. On my system this translates to the home directory (~) and thus the path of the file is ~/caKey.der.

We should probably improve this though and write to a more sensible location like ~/.config on Linux. Fortunately, go has a cross-platform function to determine the ideal config files directory: os.UserConfigDir(). Feel free to create a PR for this improvement!