Fixing OpenSSL on WordPress Windows PHP 5.6+

Background: i ran into OpenSSL errors during the Disqus plugin setup. there’s tons of hits suggesting various solutions, below is the very simple solution that worked for me… Sample error messages: SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed<br /> Failed to enable crypto in ... TL;DR: download latest cacert.pem place it in a pertinent folder (e.g. $\wp-includes\certificates) edit your php.ini > openssl.cafile={full path to cacert.pem}

Ethereum 101 on Windows

background / baseline context I’m not even remotely suggesting that this is new info but even though there’s some very friendly guides already cooking out there, I ran into mild snags and this is my attempt to really grease the rails on the way to running the greeter sample smart contract now that we have Ubuntu running natively on Windows 10 this, the native windows binary path for what are obviously linuxy bits sorta feels like a less direct path to success but IIRC i had initial snags that kicked me in this direction these commands target a local private net instance… we get free gas this way so i figure inhale that immediate gratification as quickly as possible and use that energy to conquer our next ether mountain getting spun up and ready to spend some ether Ethereum.

Exposing Azure Function web API to native & web clients through Azure AD authentication

Problem Azure AD writeups are prevalent but I was really struggling to find examples of calling the same Azure Function API, secured by Azure AD Authentication, by both Native as well as Web clients (since we can only select one app type in the Azure AD App registration, not both). TL;DR The kicker solution for me was having both a web and native App registration (i.e. two Client Id’s) and providing the WEB App registration’s Application Id as the “RESOURCE” parameter to the AuthenticationContext.

Lighter Spin on ADAL in Xamarin Forms

tl;dr new-up the elusive “PlatformParameters” in your AppDeligate.cs::FinishedLoading / MainActivity.cs::OnCreate   ts;wm (too short; want more ; ) thankfully we have solid writeups on ADAL with XF… this post is just me trying to boil it down to essence and PCL as much as possible… (BTW: ADAL = Active Directory Auth Lib… i needed it for PowerBI embedding) http://www.appzinside.com/2016/02/22/implement-adal-for-cross-platform-xamarin-applications/ https://blog.xamarin.com/authenticate-mobile-apps-using-microsoft-authentication-library/ the first post keeps the platform specific surface area pretty minimal but also winds up wrappering the stock ADAL classes quite a bit…

Free SSL Certs

LetsEncrypt.org is a wonderfully progressive initiative… free certs for all, to promote better internet security, nice!   this windows tool made quick work of plugging it into IIS vs the more unix’y stuff they suggest on their home page literally just seconds to launch the win tool and hitting a key to select which IIS site you want the cert for… none of the ol’ CSR hassle, yay!   Tips:

Chrome Blacklist Blocker (PowerShell)

If you need this, you’ll know why ;) Save ChromeBlacklistBlocker.ps1 somewhere local. You can run it via right mouse > “Run with PowerShell”. It will dump out some event text whenever it notices a registry change. (this is currently commented out and latest code hides the powershell console window after launch) Or more permanently, put a shortcut like this into your “shell:startup” folder: powershell.exe -ExecutionPolicy Bypass {path}ChromeBlacklistBlocker.ps1 It will monitor the HKLMSoftwarePolicies registry branch and delete the value named “1” under GoogleChromeExtensionInstallBlacklist.

[SOLVED] Comodo v7 blocking HTTP/S and FTP/S on Windows 8.1 IIS 8.5

Besides opening incoming HTTP ports in the firewall via “Global Rules”, the annoying thing for me to find was also adding an “Application Rule” for “Windows Operating System” on those same ports. Comodo v7.0.317799.4142 And this guy explains what’s necessary for FTP very nicely… in comodo > global settings > application rule – add 20,21 & 5000-6000 as allowed incoming TCP ports on “Windows Operating System”… you will also hopefully get prompted to allow svchost which is responsible for running the ftpsvc on internet router – forward ports 20,21 and 5000-6000 in IIS FTP settings require SSL firewall support – put external wan address in  firewall support at *SERVER* level (not site) – set ports 5000-6000 point ftp site a folder create login for ftp and make sure it has access to folder when “ Response: 530 User cannot log in, home directory inaccessible.

KeePass + Cloud Storage = (near) Password Nirvana

Update 2015-09-27: Neato! In June of 2015 the author has applied a mod which allows for KeePassHttp to be served from somewhere other than localhost… there are security implications to be considered here but as long as you know how to cover your bases it opens some nice possibilities to have a single KeepPass instance provide password resolution to multiple clients… e.g. a VM guest, other machines in your home, etc.

[SOLVED] Acer Aspire One won’t boot Syslinux USB thumbdrive

Looks like my particular issue was the default partition size on my 16GB thumbdrive. Once I formatted the USB with a 2GB partition and installed Syslinux to that, it booted up right away where previously it would hang on the first “Syslinux Copyright Peter Anvin” message. More details: Acer Aspire One model#: 722-C62bb (looks like this is an 11” model) Always handy to have another computer to work from (for web searching, trial and error formats on the USB drive, etc) when trying to fiddle with boot issues on another… my other computer is a Win8 desktop.

Enable SSL Connections to SQL Server

“SQL Server Transport Encryption” is a good Google phrase for this technology. Reference: http://msdn.microsoft.com/en-us/library/ms191192.aspx Obtain an SSL Certificate A self signed certificate is easy and works fine... here’s one way: Get the IIS 6.0 Resource Kit Tools: http://www.microsoft.com/download/en/confirmation.aspx?id=17275 All you'll need is the "SelfSSL.exe" tool so the custom install is minimal. Find SelfSSL.exe in default install path: C:Program FilesIIS Resources Good reference for SelfSSL usage: http://www.