Yes it can work with https. Just provide the logs, what error you messages do you got, how can we help you?
my domain is already having ssl and on that vps , i have installed traccar , will that same ssl certificate work for traccar ?
Yes, it should work but you must setup apache configuration . Please check the official documentation that Anton posted how to configure traccar with https.
server stopped when i try to run sudo a2enmod ssl commad , apache stopped.
Did you checked apache logs for errors
How can i set https on traccar on vps server , i tried given points in document but it failed ,
can traccar work on https website if traccar is http ?