se - under the condition (that)
cxuĉu - whether (or not)
In your case it is a question of whether or not a person is friendly, and therefore the word to use is cxuĉu
The other phrase may be used, I suppose, in a very unusual context meaning something like "If he is friendly, then I don't know*.
"Kiu estas la malamiko en la libro?"
"Mi ne scias se li estas amika"