Java APNS Certificate Error with “DerInputStream.getLength(): lengthTag=109, too big.”

后端 未结 6 2342
孤街浪徒
孤街浪徒 2020-12-17 15:16

When I try to using java APNS to send the push notification to iOS, I got this error message:

com.notnoop.exceptions.InvalidSSLConfig: java.io.IOException: D

6条回答
  •  执笔经年
    2020-12-17 15:44

    If you use maven, this is probably occurring because of the Maven filtering in your whole resources folder. I've tried Zsolt Safrany solution above and did not work. However, reading the documentation he shared, I've found this:

    
      org.apache.maven.plugins
      maven-resources-plugin
      3.0.1
      
        
          p12
        
      
    
    

    Which excludes binary extensions (or any extension you want) from being filtered.

提交回复
热议问题