Need way more information. Chrome gives more information in the error message.
First, try using the address localhost and use it both in the CN and subjectAltName fields. An ip address is not a DNS name.
Second, verify that whatever server is using the created certificate by inspecting it from chrome.
Third, make sure the certificate is trusted by chrome by importing it into the chrome certificate store.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…