adverb
Used to express strong conviction or agreement, often in response to a statement or when confirming something one has heard or experienced.
確かに、それは良い考えですね。
That's certainly a good idea.
彼の言うことは確かに正しい。
What he says is surely correct.
確か is a na-adjective meaning 'certain' or 'reliable', while 確かに is the adverbial form meaning 'surely' or 'certainly'.
Adverbial form of the na-adjective 確か (certain).