You need to find out which pin on the connector to the engine computer is for the CEL.
Then check for continuity from the lamp socket to the computer connector.
Also one pin of the lamp socket goes to ground, check this continuity too.
If all that checks out then it’s a problem in the computer module (lamp driver).