- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
05-12-2025 04:27 PM
Hi,
We're trying to figure out a way to elevate the mkcert -install command on macOS. Creating a sudo elevation command for the mkcert binary and the parameter doesn't seem to work.
Thoughts ?
05-12-2025 06:56 PM
Hi @Rany Qomsiya
I think this could be due to child processes when trying to elevate mkcert -install command. Please see if there are any child processes requires elevation as well.
Other option I can think is, instead of elevating the binary mkcert, elevate a script wrapper around the exact command. First create a .sh script to include mkcert -install command, make it executable and then create elevation policy for that file.
Script:
#!/bin/bash
/usr/local/bin/mkcert -install
Convert to executable:
chmod +x /usr/local/bin/install-mkcert.sh
Then create an elevation policy in EPM.
Hope it helps !
05-12-2025 11:03 PM
Hi @Rany Qomsiya ,
Did you get an event in the Events Management when running this command (Need to have a Default Policy - Detect privileged unhandled applications ON) ?
If so, you can use the event to create the policy you need....
Thanks,
Arik.
05-22-2025 12:19 AM
Hello @Rany Qomsiya
Have you received an answer to your question? If so, we kindly encourage you to share it with us.
Your insights could be valuable to other community members in the future.
Thank you, Isar.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

