SELFCERT.EXE creates a self-signed digital certificate that bears the name that is typed in when executed (which does not identify the user's identity).
Since a self-signed digital certificate might be fake, users will receive a security warning when they open a file that contains a macro project with a self-signed signature.
Office will only allow you to trust a self-signed certificate on the machine on which it was created.
A self-signed certificate is only for personal use.
Running SELFCERT.EXE
Executing SELFCERT.EXE shows a simple dialog:
Viewing a self signed certificate
After creating such a certificate, it is visible with PowerShell in the cert:drive (or provider?) under the path CurrentUser\My:
PS: C:\> cd cert:
PS: Cert:\> cd .\\CurrentUser\My
PS: Cert:\CurrentUser\My> ls
…
In certmgr.msc, the certificate is found under the folder Personal -> Certificates.