Custom certificate sample