For signing a message in Bitcoin core, you need a legacy address.
And for generating a legacy address in bitcoin core, go to console and use the command below.
getnewaddress "" legacy
For generating a legacy address that have a label, you can use the command below.
getnewaddress ("Enter the label here" "legacy")
Thanks for this info, I'll try and see if that does the trick for now.