I wish I could specificy that x or y is troubling me, but in general the whole thing has started confusing me lately. I am having issues in regards to self hosting a murmur server for mumble. ![]() Samsung i8910 (HD, icon) – Totally refresh music l.For those uninterested in the backstory in which I explain where my troubles setting up a server started at and what I'm looking to get out of mumble, I will write the questions at the bottom of the message so that you can easily skip to them.Identify Internet Explorer x86/圆4 on Windows 7 ta.ShrewSoft / Cisco VPN Client– periodic disconnection.Automating Installing/Importing pfx (certificate).Psexec –u –p \\%1 c:\templocation\certutil -f –p –importpfx Īutomating Installing/Importing pfx (certificate) from command line (certutil) on remote servers. the call to the certutil then had to be the full path (it couldnot rely on the system path).Ĭertreq.exe, certutil.exe, certcli.dll, certadm.dll I got round that by copying the following files from a windows 2003 server to a temporary location on the windows 2000 servers. Windows2000, I found that the certutil for windows2000 moaned about the –p parameter. This command takes the first parameter passed to the file (%1, the servername) and runs it via psexec on the server. Psexec –u –p \\%1 certutil -f –p –importpfx This command loops through the serverlist.txt file, %%G will be the servername retrieved from the serverlist.txt file and then passed to the batchfile2.bat Then created two batch files one to loop through the server list and pass each server to the second batch file which contained the psexec statement above.įOR /F "tokens=1 delims= " %%G IN (.\serverlist.txt) DO batchFile2.bat %%G Now all I needed to was to loop through all the servers, I did this by setting up a file with all the servers listed in it. I used the psexec command and stored the pfx file in location accessible to all servers (a unc path). Psexec –u –p \\ certutil -f –p –importpfx This command worked a treat on the local machine, so now it was just a matter of getting it to run remotely. Please look up these as I only include here as a quick reference. There are additional commands to install to other stores and locations, such as “–user My” which put it into the personal store if the user, and –addstore ca. This command will install the certificate into the personal store of the computer account. However just using the help I could not see a command to import a pfx, however after trawling Google for a while I found that there is a command but it just does not appear to be list in the certutil help (certutil /?). ![]() I found that certutil.exe ( a free ms tool) which appears to come with windows 2003 server+ could probably some how do what I wanted. So all I needed was how to import from the command line. ![]() ![]() I have written a few batch files in the past to execute on a remote server and to do this I used the sysinternals tool psexec. However I thought I could some how script this. These servers did not exist in an AD environment so using group policy was not an option. A few days ago I had to sit and install a new certificate to a number of servers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |