Saturday, February 23, 2013

Windows Azure Outage

The following line of code will ignore the expired SSL certificate exceptions. ?Put this line of code at the beginning of your WebRole.OnStart method and also in your Global.asax's Begin_Application method:

// Temporarily not care about Microsoft's ridiculous SSL certificate expiration.  ServicePointManager.ServerCertificateValidationCallback = (a, b, c, d) => true;

You can continue to use SSL endpoints to Azure Storage, including the Diagnostics configuration. ?The main problem you will face is deploying this code to the cloud because Service Management is down. ?If you were fortunate enough to setup Remote Desktop, you can remote into each instance and copy/paste deploy the solution.

To do this, you must create a cspkg by right-clicking on the Azure Project and selecting 'Package'. ?This will build a cspkg file for you and open the folder in Windows Explorer. ?Open the cspkg with 7Zip (or another zip utility) and then open the .cssx file inside this archive (should be the largest file). ?Navigate to the siteroot folder and copy/paste its contents into E:\sitesroot on your web role instances. ?Apply an application pool recycle in IIS and you should be up and running with the new line of code you added. ?I would *not* suggest an iisreset as this requires another service (World Wide Web Publishing Service) to be started before your application will work.

An even lengthier version of the delegate can be used to allow a one day grace period on expiration dates:

ServicePointManager.ServerCertificateValidationCallback = (sender, cert, chain, sslPolicyError) => { if (sslPolicyError == SslPolicyErrors.None) { return true; } else if (sslPolicyError == SslPolicyErrors.RemoteCertificateChainErrors) { var expDate = DateTime.Parse(cert.GetExpirationDateString()); if (expDate < DateTime.Now && expDate.AddDays(1) >= DateTime.Now) { // TODO: Warn about SSL certificate expiration. return true; } } return false; };

Please note: This delegate applies to *all* SSL certificate validations. ?Use with care.

Source: http://social.msdn.microsoft.com/Forums/en-US/windowsazuredata/thread/751c85c5-b3b5-43ba-9d5b-770472ad79e1

the line us soccer bobby brown arrested the happening black panthers mauritania obama open mic

Gunmen attack Indonesian military chopper in Papua

JAYAPURA, Indonesia (AP) ? Unidentified gunmen shot at an Indonesian military helicopter in the restive province of Papua on Friday as the crew was trying to evacuate the bodies of eight soldiers killed in attacks the day before.

Three crew members were wounded in Friday's attack on the Super Puma helicopter, which was forced to abort its mission and rush the injured to a hospital, said Lt. Col. Jansen Simanjuntak, an army spokesman.

Eight soldiers were killed in two separate attacks in the area on Thursday. The area is a stronghold of separatists who have battled Indonesian rule in the impoverished region for more than 40 years.

In the deadliest attack Thursday, about 20 assailants armed with guns and machetes attacked a group of soldiers walking to Ilaga Airport in Puncak district to collect communication equipment, killing seven, Simanjuntak said.

Two civilians also were shot in the attack, but their fate was unclear, he said. He said earlier that the two had been killed.

About an hour before that attack, gunmen stormed an army post in Tinggi Nambut, a village in neighboring Puncak Jaya district, and fatally shot one soldier and injured another before fleeing into the jungle, Simanjuntak said.

Indonesian military spokesman Rear Adm. Iskandar Sitompul said the same group was responsible for both attacks.

"They are believed to be old players who always try to disturb the situation there," Sitompul said in Jakarta, the capital.

Simanjuntak identified the assailants as members of a local separatist group led by Goliat Tabuni.

Senior Security Minister Djoko Suyanto said the incidents were "very irresponsible acts by the armed groups in Papua," adding that "the government very strongly condemns such brutal incidents." He said the perpetrators would be captured and prosecuted.

The former Dutch colony of Papua in the western part of New Guinea was incorporated into Indonesia in 1969 following a U.N.-sponsored ballot of tribal leaders that has since been dismissed as a sham. A small, poorly armed separatist organization known as the Free Papua Movement has battled for independence since then.

Source: http://news.yahoo.com/gunmen-attack-indonesian-military-chopper-papua-042304976.html

bobby petrino fired buffett rule lollapalooza lineup joss whedon ronnie montrose melissa gilbert dancing with the stars dandelion wine