开发服务器证书和生产服务器证书之间有什么区别吗?
如果我有my_certificate.p12并为 ApnService 提供该信息
<bean id="apnsServiceFactory" class="org.apache.camel.component.apns.factory.ApnsServiceFactory">
<property name="feedbackHost" value="feedback.sandbox.push.apple.com" />
<property name="feedbackPort" value="2196" />
<property name="gatewayHost" value="gateway.sandbox.push.apple.com" />
<property name="gatewayPort" value="2195" />
<property name="certificatePath" value="file:etc/my_certificate.p12" />
<property name="certificatePassword" value="111" />
</bean>
它会等于那个吗?
<bean id="apnsServiceFactory" class="org.apache.camel.component.apns.factory.ApnsServiceFactory">
<property name="feedbackHost" value="feedback.push.apple.com" />
<property name="feedbackPort" value="2196" />
<property name="gatewayHost" value="gateway.push.apple.com" />
<property name="gatewayPort" value="2195" />
<property name="certificatePath" value="file:etc/my_certificate.p12" />
<property name="certificatePassword" value="111" />
</bean>
我的意思是,我是否能够仅通过 1 个证书获得一些推送和反馈,还是我必须同时拥有两者?对于开发中的测试,我应该使用gateway.sandbox.push.apple.com还是可以使用feedback.push.apple.com?
月关宝盒
相关分类