Those are extremely irritated compacted sperm plugs... They typically get like this when the chameleon is not hydrated enough to shed them regularly. So you end up with dense plugs like this. Get regular plain no additive KY jelly to put all over the area. You do not want the exposed tissue drying out. And you want to get this boy into a reptile vet asap to get them removed.
Then it would be a good idea to review your husbandry so we can make sure you have the correct info for him.