Posts

Showing posts from January, 2024

NSX-T: Release associated invalid node ID from certificate

Image
Summary: Basically had an expiring certificate registered in NSX-T that was associated to a node_id that is no longer valid.  Long story short, there wasn't anything obvious in API to delete or disassociate a certificate from a node_id for 3.2.2.  Not sure how things got in this state, but annotating for future reference.  This may change in future revisions, so always check API for latest. Details: Effectively had a stale node associated w/ a certificate that was expiring.  Could not delete certificate until that node was disassociated from the certificate. To get certificate details and associated node_id's, you can use the following curl call (UI works too): curl -k -X GET -H "Content-Type: application/json" -u admin https://<manager ip>/api/v1/trust-management/certificates/<cert UUID> Above will return something like this: Below must be run from one of the manager nodes via elevation to root: ONLY RUN THIS IF YOU ARE ABSOLUTELY SURE OF WHAT YOU ARE DOI

iOS: Sleep Focus activating on wrong time zone

Image
Time is Relative Summary: For some strange reason, my sleep focus, was activating based upon my home timezone of EST while traveling to Japan and Australia.  My phone's timezone was correct as was my apple watch that is set to mirror my iPhone. Resolution: Settings --> Privacy & Security --> Location Services Turn off Location Services Turn on Location Services For a quick test, you can edit your sleep schedule in Apple Health to a time window the same as your original timezone to see it reactivates again immediately.   For example: 9:30 pm EST = 12:30pm Brisbane So if you set your sleep schedule to 9:30pm while it is currently 12:30pm in Brisbane, sleep focus should activate immediately if above location services reset was not done. For some strange reason, I was not able to fix this by restarting iPhone.  Anyway, just thought I'd post since I'm likely to forget trying this.