fixed certificate import