FIX certificate hook