Consulting

Results 1 to 9 of 9

Thread: Make cert

  1. #1
    VBAX Expert
    Joined
    Jan 2005
    Posts
    574
    Location

    Make cert

    Can anyone tell me how to run make cert instead of self cert to create my digital signature as i want to distribute some code over a network but want to leave all the security set to high without too much disruption to my users and without having to go round every machine?

  2. #2
    Moderator VBAX Guru Ken Puls's Avatar
    Joined
    Aug 2004
    Location
    Nanaimo, BC, Canada
    Posts
    4,001
    Location
    Hi there,

    Self cert will do it for you. You just need to install your cert on each machine the first time the workbook is opened. If you want a more robust cert, you are going to be paying BIG bucks for it. Look up Digital Certificate on the net. Thawte is one of them, and Verisign another.
    Ken Puls, CMA - Microsoft MVP (Excel)
    I hate it when my computer does what I tell it to, and not what I want it to.

    Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar

    This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!

    Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!





  3. #3
    VBAX Expert
    Joined
    Jan 2005
    Posts
    574
    Location
    I ve done a lot of reading on this and have found that self cert can have the always trust macros from this publisher greyed out, i understand make cert solves this problem but am unsure how to run it?

  4. #4
    VBAX Expert
    Joined
    Jan 2005
    Posts
    574
    Location
    OK I figured out my problem and can now make a digital signature with exportable private key so my users can just tick the box always trust macros from this publisher. So i no longer need need to install the signature myself onto every machine (As i have to with self cert) and I can keep the macro security settings on high.

    Can an administrator tell me if i am allowed to post that information here of is this breaching the rules about security issues?

  5. #5
    Moderator VBAX Guru Ken Puls's Avatar
    Joined
    Aug 2004
    Location
    Nanaimo, BC, Canada
    Posts
    4,001
    Location
    Sorry for not getting back to you earlier, Gibbo. Glad you got your issue worked out.

    As for the question, we'll leave it all posted. I don't see any harm in posting this information, as it will help somone else distribute their own code.

    Cheers,
    Ken Puls, CMA - Microsoft MVP (Excel)
    I hate it when my computer does what I tell it to, and not what I want it to.

    Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar

    This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!

    Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!





  6. #6
    VBAX Expert
    Joined
    Jan 2005
    Posts
    574
    Location
    ok, just wanted to check you guys were happy with that.

    ok first you have to find the file called make cert, its usually stored in the office folder in the program files, if not you can download it from microsoft

    Next open a dos window ( in XP go start - run and type cmd.exe)

    move the folder containing the program (E.G. type cd C:\Program Files\Microsoft Office\Office)

    then type the following changing your name to whatever you want the certificate to be called

    makecert -r -pe -n "CN=Your Name" -b 01/01/2000 -e 01/01/2099 -eku 1.3.6.1.5.5.7.3.3 -ss My

    thats it, now go to your vba editor in excel click tools - certificate then choose and add the ceertificate.

    Thats it done.

    you can also export it with the private key

    Hope this helps

    Nice to give something back for all the help you ve all given me

    cheers

    Gibbo

  7. #7
    Moderator VBAX Guru Ken Puls's Avatar
    Joined
    Aug 2004
    Location
    Nanaimo, BC, Canada
    Posts
    4,001
    Location
    Ever thought about making that into an article for the site? Mdmackillop made one on self cert, but it might be nice to add one on markcert....

    What the differences are, why to use instead, what the pieces above actually mean...

    Give it some thought!
    Ken Puls, CMA - Microsoft MVP (Excel)
    I hate it when my computer does what I tell it to, and not what I want it to.

    Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar

    This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!

    Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!





  8. #8
    VBAX Expert
    Joined
    Jan 2005
    Posts
    574
    Location
    i ll try to find some time and do so

  9. #9
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    That would be great gibbo!!

Posting Permissions

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