Blog

Blog Archives - 7 Record(s)

Remove Filter Year: '2020' - Month: '12'

Round-Trip From ColdFusion to Okta using SAML and ColdFusion 2021

Posted by Andy Peterson
14 Dec 2020 07:52 PM

I feel as though when the Adobe ColdFusion 2021 planning committee called their first meeting to order, the number one item on their agenda was how to make a developer's life easier In addition to the AWS/Azure cloud configuration/integration capabilities I've posted about, I now have Okta integration to play with, via SAML. And with a few lines of code to handle authentication, I now have the ability to leverage SSO, MFA, and much more in my applications. 

Hello Cloud! Zero to Serverless CFML in 20 Minutes

Posted by Andy Peterson
13 Dec 2020 02:51 PM

When it comes to CFML serverless environments, I have watched a lot of videos and read a lot of documentation but never have I come across a session that gets your cfml code working in the cloud this fast. 20 minutes into this 90 minute session by Paul Kukiel of Amazon Web Services and I'm watching my cfml run on AWS. Given this quick win, and despite having another 70 minutes of video to watch, I paused the session to take stock of what happened, and write a post about it. 

$1 Domain Names - For Life - Using IIS's HTTP Redirect to swap domains for orgs on a budget

Posted by Andy Peterson
12 Dec 2020 05:28 PM

I run a couple of websites for non-profits (like this one), and naturally we like to keep the costs low. Last year, we bought a domain name from GoDaddy for $0.99, but now it's time to renew - for $17. This isn't something that is going to break the bank, but it's 17x more expensive to own this domain this year compared to last. And since our "brand" isn't tied to the domain name, can't we just buy another one very similar to this one for a buck and permanently redirect the old one to it? Will we lose visitors in the process?

Adobe ColdFusion 2021 and Azure Blob, A Painless Configuration Experience

Posted by Andy Peterson
07 Dec 2020 08:24 AM

I just noticed that my last two blog posts refer to pain, or lack thereof. Here's a spoiler alert for ya - I prefer the latter. This post will show you how to painlessly upload and download a file to a Azure Blob cloud to/from a container that we also created by writing less than 30 lines CFML. Nice!

Updating Lucee as Part of a Vulnerability Alert Response - Painless as Promised, or ???

Posted by Andy Peterson
05 Dec 2020 10:13 AM

While I mainly use Adobe ColdFusion, I do maintain several Lucee installs - most of which are running on auto-pilot and/or hosted/configured/maintained by the host. However, when I first heard of the Lucee vulnerability on the Modernize or Die podcast, I decided to take an inventory of where I was using Lucee to see what needed upgrades and patches. Lucee patches for this vulnerability are 5.3.5.96, 5.3.6.68, and 5.3.7.47. I was running 4.5.1.024. This Lucee install was woefully out of date, so much so that an update for 4 was not listed. Indeed, a comment from Zac Spitzer indicated that 4.5 was probably not affected. Nevertheless, it was time to upgrade.

AWS S3 and ColdFusion 2021, Part 1: The Setup

Posted by Andy Peterson
04 Dec 2020 05:22 AM

This is another stars-aligned, providential moment whereby my organization is seeking to choose a cloud provider at the same time Adobe is stepping up to the plate with a new arsenal of tools to get me there faster. After watching another excellent Brian Klaas conference session, this time at CF Summit 2020, it was time to dive in. His advice to start your cloud journey by moving local assets to the cloud resounded in my ears, and so that is exactly what we will accomplish here. 

In this blog post, we will cover:

  • Setting up S3
  • Configuring S3 in the ColdFusion 2021 Administrator
  • Programmatically creating a bucket
  • Uploading and downloading a file from that bucket. 

Running Adobe ColdFusion 2018 and 2021 concurrently - Use the WSConfig tool.

Posted by Andy Peterson
03 Dec 2020 02:08 PM

When CF 2021 came out just before CF Summit back in November of 2020, I was chomping at the bit to try the new features, including SAML, AWS, and Azure integration from the administrator's configuration. But just after upgrading to 2021, we discovered the date bug, and so needed to revert a site or two back to CF 2018. Here's how we did it.