I am in a very tricky situation and I will attempt to explain it as well as I can. I will write my problem in concise numbered steps and at the end, I will boil this down to one or a few clear questions.
I wrote a program in python. (no other languages used)
I then used pyinstaller to convert this into a .exe so I could share it with my friends without them having to install python or any other external libraries.
When my friends attempted to download this exe, their Windows Defender and other AntiViruses showed up and it wouldn't let them run the program.
I did some research and learnt that my exe did not have a publisher added and therefore, Windows Defender prevented users from opening the file.
To add a publisher I learnt that I needed to digitally sign this and make a certificate, so I installed a program called DigiCert, which could add a certificate to the exe.
This is the problem, I do not know how to make a code signed certificate for my program for free.
So to condense all of this down, my question/questions are:
A) Is the issue actually about the fact that my exe does not have a publisher?
B) If so, how do I create a code signed certificate to add one?
I hope you understand the problem, and I would appreciate any comments or responses.
Many thanks