Replace "key" with "certificate" in string
(cherry picked from commit 4100262bd88211d142260b1f8cd9d88695588103)