admin.hostRenewXdqpCertificate( config as element(configuration), duration as xs.duration? ) as element(configuration)
This function generates a new xdqp host certificate for a host if the current certificate will expire within the duration.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.