travis' brain dump

Author Archive

Searching Certificates with certutil.exe

by on Apr.08, 2021, under Tech Stuff

Dropping this one here for future reference…

I had a coworker ping me this morning asking to find a certificate using certutil.exe and the Issued Common Name. It took me longer than I’d prefer to remember how to do that so I’m posting it here for use later. 😀

certutil -view -restrict ‘CommonName=

You know, because this one WILL come back at me in short order. lol

Leave a Comment more...

Import DNS Files to Azure DNS

by on Jul.23, 2020, under Tech Stuff

Because I literally forgot how to do this and had to look it up and don’t want to suffer through a long MSFT document again in the future….

Super short version FTW:

  • Setup a new DNS zone in Azure. This is pretty easy, but in case you need it: https://docs.microsoft.com/en-us/azure/dns/dns-getstarted-portal
  • Gather your dns file…
    • Windows – C:\Windows\System32\dns
    • Bind – Wherever you specified to drop those things for named to pick up (usually somewhere in /etc/namedb/ or /usr/local/etc/namedb/)
  • Mod the file and pull out the NS records. Import doesn’t seem to like these despite what the doc’s say. 🙂
  • Start Azure CLI (Cloudshell/Bash). If you don’t know how to use this, check this link: https://docs.microsoft.com/en-us/azure/cloud-shell/overview
  • Upload your .dns file using the CloudShell console. I suggest you move the file into a working directory if you’d like to store it for later.
  • Execute Order 66… err… this command:
    • az network dns zone import -g domain-services -n domain.net -f domain.net.dns
  • Profit

You should see a message along the lines of ‘== 41/41 RECORDS IMPORTED SUCCESSFULLY: ‘domain.net’ ==’ when completed, however you may want to go in and recheck the import and maybe make a few mods to any records you want to modify TTLs on, etc. Any TTLs not explicitly defined will set to 3600 so make sure to cleanup what you need, where you need.

Leave a Comment more...

Retrieving iLO License Keys from iLO

by on Jun.26, 2020, under Tech Stuff

So, you want record that iLO key that you forgot to write down previously, right?

No problem.

  • Venture to https://support.hpe.com/hpesc/public/home and search for “HP Lights-Out Configuration Utility” and download the latest version.
  • Once downloaded & installed, you can find it under C:\Program Files (x86)\Hewlett Packard Enterprise\HP Lights-Out Configuration Utility.
  • Open your choice of text editors and paste the following into the file:
    <RIBCL VERSION=”2.0″>
    <LOGIN USER_LOGIN=”adminname” PASSWORD=”password”>
    <RIB_INFO MODE=”read”>
    <GET_ALL_LICENSES/>
    </RIB_INFO>
    </LOGIN>
    </RIBCL>
  • You can choose to edit the admin name & password here or pass it on the command line (which I will outline shortly). Save the file as ‘getlicenses.xml’ and close the file.
  • From a command prompt, navigate to the installation folder for the HPLOCU and execute the following:
    • .\HPQLOCFG.exe -s ip.of.ilo.srv -l .\logoutput.txt -f .\getlicenses.xml -u Administrator -p AdminPassword
  • You should receive an output similar to this:

 

 

Leave a Comment more...

when a vacation yields you finally fixing your blog

by on Oct.27, 2019, under General, Personal

Ok, so… anyone who has visited my site in the last year has probably tapped their fingers on the desk for more than a few moments waiting for content to load. Well, you weren’t the only one and I’m pretty sure that was one of the reasons why I didn’t update more content out here. It’s been just as much a pain for me, but I’ve lacked the time to actually dig into it and figure out what’s going on.

With my vacation ending today, I figured I’d do one more me thing before I return to work tomorrow… So with that, I’m pleased to say, the sites is working much cleaner now that I’ve slimmed down some of the plugins; removed outside sources from loading content to the blog; upgraded and tweaked php significantly and did some pretty neat stuff with the sql backend. In short, I believe became a victim of bloating my own blog and essentially shot myself in the foot because of it.

So… will I get to posting useful items anytime soon? I honestly don’t know. I’d like to think I will but given the last year and my work schedule working through a large merger, I really got burned out and didn’t want to do anything “personal” in the technology world. The sad part? I usually dump stuff here that I know I’ll forgot and I’ve forgotten quite a bit of the cool stuff I figured out over the last year because I didn’t dump it off here for reference later. It may work out, I’ll probably end up repeating some of this work as we prepare to do some similar activities in moving objects around our domain, in the cloud and into a dumpster, so we’ll see. 🙂

For now, one less thing to haunt me, lol.

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!