In each database that's relevant, check for expired certificates:
SELECT name, thumbprint, expiration_date, subject
FROM sys.certificates
WHERE expiration_date < GETDATE();
You can also check for statuses related to active conversations:
SELECT conversation_handle, message_type_name, message_body
FROM sys.transmission_queue
WHERE state = 'READY';
If it's expired and you need to replace it, start by creating a new cert:
CREATE CERTIFICATE NewCertificate WITH SUBJECT = 'Service Broker Certificate Replacement', EXPIRY_DATE = '2030-12-31';
Create a new endpoint with the new certificate:
DROP ENDPOINT IF EXISTS ServiceBrokerEndpoint;
CREATE ENDPOINT ServiceBrokerEndpoint STATE = STARTED AS TCP (LISTENER_PORT = 4022) FOR SERVICE_BROKER ( AUTHENTICATION = CERTIFICATE NewCertificate );
IF necessary, then alter the queues to use the new certificate.
You'll probably need to end existing conversations using the previous certificate.