One AP cannot join WLC after configured with static ip address

One ap 1140 can join wlc4402 but ap 3500 cannot join. Both ap are configured with the same config except its ip address via console. Please see below:

AP1140#sho capwap ip config
LWAPP Static IP Configuration
IP Address  
IP netmask  
Default Gateway    

AP3500#show capwap ip config
LWAPP Static IP Configuration
IP Address  
IP netmask  
Default Gateway    
Primary Controller

And below message is from AP3500 console. Is there certificate issue?

*Feb 24 18:01:09.000: %CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_ip: peer_port: 5246
*Feb 24 18:01:09.088: %PKI-3-CERTIFICATE_INVALID_EXPIRED: Certificate chain validation has failed.  The certificate (SN: 6F2E8AB40000001E29EA) has expired.    Validity period ended on 12:52:22 UTC Jul 10 2017
*Feb 24 18:01:09.091: %LWAPP-3-CLIENTERRORLOG: Peer certificate verification failed
*Feb 24 18:01:09.091: %CAPWAP-3-ERRORLOG: Certificate verification failed!
*Feb 24 18:01:09.091: DTLS_CLIENT_ERROR: ../capwap/capwap_wtp_dtls.c:348 Certificate verified failed!
*Feb 24 18:01:09.091: %DTLS-4-BAD_CERT: Certificate verification failed. Peer IP:
*Feb 24 18:01:09.091: %DTLS-5-SEND_ALERT: Send FATAL : Bad certificate Alert to
*Feb 24 18:01:09.091: %DTLS-3-BAD_RECORD: Erroneous record received from Malformed Certificate
*Feb 24 18:01:09.091: %DTLS-5-SEND_ALERT: Send FATAL : Close notify Alert to
*Feb 24 18:01:09.091: %CAPWAP-3-ERRORLOG: Invalid event 38 & state 3 combination.

(WLC-1) >show interface summary

Interface Name                   Port Vlan Id  IP Address      Type    Ap Mgr Guest
-------------------------------- ---- -------- --------------- ------- ------ -----
ap-manager                       2    10      Static  Yes    No  
management                       2    10     Static  No     No
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Craig BeckCommented:
What version of code is on your AP and WLC?
eemoonAuthor Commented:
Thank you so much for your fast reply.
WLC version is
AP 3500 is LWAPP image version
AP 1140 is LWAPP image version
Craig BeckCommented:
Ok at the WLC CLI try this...

config ap lifetime-check mic enable

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Challenges in Government Cyber Security

Has cyber security been a challenge in your government organization? Are you looking to improve your government's network security? Learn more about how to improve your government organization's security by viewing our on-demand webinar!

eemoonAuthor Commented:
Below is what I did, but I have not seen it take effect yet

(WLC-1) >config ap lifetime-check mic enable
Expire MIC Mode allow is already configured.
Craig BeckCommented:
Have a look through this then...

You may be hitting that bug.
eemoonAuthor Commented:
Thank you! It began to work after changing time. even after changing time back to normal, it still works well!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Wireless Networking

From novice to tech pro — start learning today.