You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In opening the Certificate Management screen on one of our servers, I get the error "The getCommonName method was not found." Any thoughts for resolving this?
Either there are no methods with the specified method name and argument types or the getCommonName method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity.
The error occurred in C:/ColdFusion11/cfusion/wwwroot/CFIDE/administrator/certman/Certificate.cfc: line 19
17 : <!--- certificate common name (some certs do not have this, try to fall back to OU)--->
18 :
19 : <cfif Len(Trim(Variables.ThisCertificate.getSubjectDN().getCommonName()))>
20 : <cfreturn Variables.ThisCertificate.getSubjectDN().getCommonName()>
21 :
The text was updated successfully, but these errors were encountered:
Thank you for your quick response, and sorry for my late reply. No, when I dump Variables.ThisCertificate, the getSubjectDN method exists, but getCommonName is not within it. This is a dump of getSubjectDN.
In opening the Certificate Management screen on one of our servers, I get the error "The getCommonName method was not found." Any thoughts for resolving this?
Either there are no methods with the specified method name and argument types or the getCommonName method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity.
The error occurred in C:/ColdFusion11/cfusion/wwwroot/CFIDE/administrator/certman/Certificate.cfc: line 19
17 : <!--- certificate common name (some certs do not have this, try to fall back to OU)--->
18 :
19 : <cfif Len(Trim(Variables.ThisCertificate.getSubjectDN().getCommonName()))>
20 : <cfreturn Variables.ThisCertificate.getSubjectDN().getCommonName()>
21 :
The text was updated successfully, but these errors were encountered: