Symptoms:
You see the error:
NSX management service operation failed. (404 Not found)
In the NSX Manager logs, you see entries similar to:
2017-06-30 09:39:31.688 UTC INFO http-nio-127.0.0.1-7441-exec-503 PreAuthenticatedAuthenticationProvider:55 - User is authenticated by reverse proxy : NSX Appliance Manager
2017-06-30 09:39:31.691 UTC INFO http-nio-127.0.0.1-7441-exec-503 AuditingServiceImpl:147 - [AuditLog] UserName:'System', ModuleName:'ACCESS_CONTROL', Operation:'LOGIN', Resource:'NSX Appliance Manager', Time:'Fri Jun 30 09:39:31.690 UTC 2017', Status:'SUCCESS', Universal Object:'false'
2017-06-30 09:39:31.693 UTC INFO http-nio-127.0.0.1-7441-exec-503 UserSessionManager:43 - New session: ############################3D2F
2017-06-30 09:39:31.719 UTC ERROR http-nio-127.0.0.1-7441-exec-503 BaseRestController:406 - Exception : 'The requested object : certificate-125 could not be found. Object identifiers are case sensitive.' ===========>
2017-06-30 09:39:33.473 UTC INFO messagingTaskExecutor-1 QueueSubscriptionManager:252 - Purging queue 'vse_########-####-####-####-############_request_queue'. No wait = 'true'.
2017-06-30 09:39:36.844 UTC INFO http-nio-127.0.0.1-7441-exec-501 PreAuthenticatedAuthenticationProvider:55 - User is authenticated by reverse proxy : NSX Appliance Manager
2017-06-30 09:39:36.847 UTC INFO http-nio-127.0.0.1-7441-exec-501 AuditingServiceImpl:147 - [AuditLog] UserName:'System', ModuleName:'ACCESS_CONTROL', Operation:'LOGIN', Resource:'NSX Appliance Manager', Time:'Fri Jun 30 09:39:36.846 UTC 2017', Status:'SUCCESS', Universal Object:'false'
2017-06-30 09:39:36.853 UTC INFO http-nio-127.0.0.1-7441-exec-501 UserSessionManager:43 - New session: #############################9160
2017-06-30 09:39:36.877 UTC ERROR http-nio-127.0.0.1-7441-exec-501 BaseRestController:406 - Exception : 'The requested object : certificate-125 could not be found. Object identifiers are case sensitive.'
2017-06-30 09:39:38.765 UTC INFO User LoginLogout Deflate Thread UserLoginLogoutEventRaiser:250 - Raise 2 user login/logout events
2017-06-30 09:39:38.768 UTC INFO User LoginLogout Deflate Thread UserLoginLogoutEventRaiser:254 - Raise 10 group login/logout events
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
NSX for vSphere
To resolve this issue:
Execute below query to insert dummy record for missing certificate (replace certificate-125 with certificate number that you receive in NSX Manager logs)
#insert into domain_object(dtype, objectid, cascade_event_to_parent, cascade_parent_delete, objecttype, relationship_revision, revision ) values('Certificate', 'certificate-125','f', 't', 'Certificate', 0, 0);