Skip to content

MSSQL Exporter - Negative Serial Number Errors #730

Closed Answered by burningalchemist
jmbecker asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @jmbecker, thanks for reporting the issue.

As this problem originates from the Microsoft side (in our case it's the way the certificate is generated), it won't be solved by Golang, indeed. Generally, it's a violation of RFC 5280 section 4.1.2.2, which states that

The serial number MUST be a positive integer assigned by the CA to each certificate.

sql_exporter uses official microsoft/go-mssql driver, so the connection handling (including TLS) happens there, it's nothing custom on our end.

The issue was accepted and fixed by the Microsoft team and has been reflected in the update - https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2022/cumulativeupdate18#3867855. S…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jmbecker
Comment options

@burningalchemist
Comment options

Answer selected by jmbecker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #729 on April 22, 2025 11:05.