Results 1 to 12 of 12

Thread: [RESOLVED] By-pass a digital certificate

  1. #1

    Thread Starter
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    Resolved [RESOLVED] By-pass a digital certificate

    I created a VBA program (Access). When running XP at medium security , the User receive a message at startup about no digital certificate .
    How do I by- pass this warning

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: By-pass a digital certificate

    Sign your VBA project with a digial certificate and then you can change the security level to high - run only signed code.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    Re: By-pass a digital certificate

    Thanks Rob, I do have a digital certificate, and this program is running our network; I wrote it. I installed this program on several PCs and the boss does not like seeing the warning message. I am guessing I need to sign each PC and the server,or by-pass it. I do not know how. Any advice ?

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: By-pass a digital certificate

    Yes, each workstation will need its own cert. This is my FAQ on it - http://vbforums.com/showthread.php?t=402030
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    Smile Re: By-pass a digital certificate

    Thanks again. I might still have a question...as soon as I know what the question is, I will post it.

  6. #6

  7. #7

    Thread Starter
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    Re: By-pass a digital certificate

    Thank you for your prompt reply...

    I understand that i need a digital cert to avoid the warning, and that high security won't open the db w/o a cert, and i have looked at your faq. The remaining problem is this:

    I am trying to install the package in question on workstations that do not have any office programs installed. I used the package wizard and signed the project beore i compiled it (if that is what it is doing). The installation package installed the Access runtime environment, and that is what we are running under.

    As you showed in your FAQ, i can create the cert on a machine with office tools, but since the workstations in question do not have office installed, i cannot see any way to create the cert on those workstations.

    In a perfect world, it would seem that there should be some way to point the
    appliation to the LAN server to find a private cert.

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: By-pass a digital certificate

    Certs created with the SELFCERT.EXE office utility are for private use as they are generated off of a hardware alogorthium of the machine its generated on. So if you were to move a cert to another machine then it will not be valid.

    You would need a public certificate (costs $) in order to sign projects where office is not installed, but that brings up the question:

    If the system doesnt have Office installed, how could you be running Access via its GUI?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  9. #9

    Thread Starter
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    Re: By-pass a digital certificate

    We are running the package in access runtime which is installed on the workstation by the installer. The installer is made using access developer extensions packaging wizard on our development machine.

  10. #10
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: By-pass a digital certificate

    There may be something in the Access Developer Extensions but I never looked in depth.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  11. #11
    Member
    Join Date
    Jan 2004
    Posts
    37

    Re: By-pass a digital certificate

    If you have a windows server OS available install certification services on it if it isn't by default, generate a certificate, sign the app with the certificate.

    If you're in a windows domain you can make the certificates automatically trusted for all workstations with certification services, otherwise the workstation has to install the certificate and say the certificate is trusted.

  12. #12
    New Member
    Join Date
    Dec 2006
    Location
    Brisbane
    Posts
    8

    Re: By-pass a digital certificate

    Does anyone has more information on this subject, my office is having the same problem, how to create an in-house certification or by-pass...thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width