Managing Certificates for Application Testing

027-监控运维:告警、灰度与回滚机制 本文分享了监控运维中告警、灰度与回滚的实战经验。强调告警需分层设计,避免误报漏报,重点监控“任务未执行”等隐蔽问题;灰度发布应按比例逐步放量,并确保新旧版本数据可对账;回滚必须提前配置,实现一键切换,支持自动回滚兜底。三者形成闭环,关键在于“未雨绸缪”——在无故障时就建立可靠机制,才能真正实现系统稳定。 阅读详情


A.     Adding Test Certificates to the Certificate Store and Devices

You need to add test certificates to the following:

Personal certificate store on the computer used to develop applications

Windows Mobile-based device

You add certificates to the device by using the RAPIConfig.exe application and a provisioning .xml file.

To add the certificates to the personal certificate store

For the privileged certificate, open Windows Explorer and double-click the TestCert_Privileged.pfx file located at C:/Program Files/Windows CE Tools/wce500/<platform>/Tools.

Click Next three times. A password is not associated with this certificate.

Confirm that Automatically select the certificate store based on the type of certificate is selected, and then click Next.

Click Finish.

For the unprivileged certificate, double-click the TestCert_UnPrivileged.pfx file located at C:/Program Files/Windows CE Tools/wce420/<platform>/Tools, and then repeat steps 2–4.

To add the certificates to the device

Connect the Windows Mobile-based device to the computer using ActiveSync.

Open a command prompt window, and change to the folder that contains the RAPIConfig.exe application and the sdktestcerts.xml file. The files are located at C:/Program Files/Windows CE Tools/wce500/<platform>/Tools.

At the command prompt, type RAPIConfig.exe /p sdktestcerts.xml, and then press ENTER.

B.     Determining the Security Configuration of the Device

If the device security configuration requires signed binary files and the application binary files are unsigned, the application will not run. You can use provisioning XML and the SecurityPolicy Configuration Service Provider to determine the security configuration of the device.

C.      Querying for Certificates Contained in the Device Certificate Store

If your application fails to install or run, it may be signed with a certificate that does not match any of the root certificates contained in the device certificate store. You can use provisioning XML and the CertificateStore Configuration Service Provider to determine which certificates are contained in the certificate store.

To query for certificates contained in the device certificate store

Create the provisioning XML document.

Save the XML document as an ASCII file.

Add the .xml file to an installation .cab file by doing the following:

Open a command prompt window and change to the C:/Program Files/Windows CE Tools/wce500/Windows Mobile 5.0 Pocket PC SDK/ folder for Pocket PC, or C:/Program Files/Windows CE Tools/wce500/Windows Mobile 5.0 Smartphone SDK/ folder for Smartphone.

Run the makecab.exe tool as follows:

For Windows Mobile-based Smartphones: makecab XML file name myprovxml.cab

For Windows Mobile-based Pocket PCs: makecab /D COMPRESS=OFF XML file name myprovxml.cab

Note   /D COMPRESS=OFF turns off file compression, which Windows Mobile software for Pocket PCs requires.

Sign the .cab file using signtool.

D.    Signing Applications for Testing and Distribution

You sign .cab and binary files using signtool.exe. This will enable you to certify and distribute the application through the Microsoft Mobile2Market program.

E.      Importing and Exporting Test Certificates

a)      Installing the PVK Digital Certificate Files Importer

You can use the PVK Digital Certificate File Importer tool for packaging import and export certificate files.

To download and install the PVK Digital Certificate Files Importer

Download the PvkImprt.exe setup program, located at PVK Digital Certificate Files Importer.

Double-click the file.

Follow the instructions on the screen.

You can also use the command line to install for the application. The following example shows the syntax for installing from the command line.

pvkimprt [option]

The following table shows the command line options for the installation.

Option

Description

/Q

Quiet mode for the installation package

/T:<full path>

Specifies a temporary working folder

/C

When used with the /T option, extracted for folder specified

/C:<Cmd>

Overrides the install command defined by author

b)     Importing Digital Certificate Files into the Personal Certificate Store

You can import the digital certificate files (.cer or .spc file and a .pvk key pair file) into the personal certificate store on a computer by running PVK Digital Certificate Importer (PvkImprt.exe) with the -IMPORT option.

To import the digital certificate files into the Personal certificate store

Open a command prompt window.

Type PVKIMPRT -IMPORT and the full path of the .cer or .spc file and a .pvk file.

The following example shows the syntax for using PvkImport.exe to import the .cer or .spc file and a .pvk key pair file:

<full directory path/>PvkImprt -import <full directory path/><.spc or .cer file> ,<full directory path/><.pvk file>

In the following example, the TestCert_Privileged.cer and TestCert_Privileged.pvk files are imported:

C:/SDK/Tools/pvkimprt -import C:/SDK/Tools/TestCert_Privileged.cer C:/SDK/Tools/TestCert_Privileged.pvk

Click Next, and then select Place all certificates in the following store.

Click Finish.

The import was successful message displays.

To confirm that the import was successful, view the certificate in the personal certificate store.

 

 

c)      Packaging Digital Certificate Files for Export

You can package digital certificate files (.cer or .spc and .pvk) in a .pfx file. A .pfx file is encrypted according to the PKCS #12 standard and a single password helps protect a .pfx file. Packaging enables you to back up the files and import them into the personal certificate store on another computer.

Run the PvkImprt tool from the directory you installed it in, or supply the complete path to the install directory.

To package digital certificate files in a .pfx file for export

Open a command prompt window.

Type PVKIMPRT -PFX and full path of the .cer or .spc file and a .pvk file.

The following example shows the syntax for packaging files in a .pfx file:

<Full directory path/>pvkimprt -PFX <Full directory path/><.cer or .spc file name> <Full directory path/><.pvk file name>

In the following example, the TestCert_Privileged.cer and TestCert_Privileged.pvk files are packaged in a .pfx file:

pvkimprt -PFX c:/SDK/Tools/TestCert_Privileged.cer c:/SDK/Tools/TestCert_Privileged.pvk

Click Next.

Select Yes, export the private key, and then click Next.

Select Enable strong protection, and then click Next.

Select Personal Information Exchange - PKCS#12 (.PFX).

Type the password you want to use to help protect the file, and then click Next.

Type the file name or click Browse to select the file, and then click Finish.

d)     Viewing Certificates in the Personal Certificate Store

You can use Microsoft Internet Explorer to view certificates in the personal certificate store.

To view certificates using Internet Explorer

Open Internet Explorer.

On the Tools menu, click Internet Options.

Click the Content tab, and then click Certificates.

Click the Personal tab to view the certificates in the personal certificate store

You should have access rights to the private keys of all certificates in the personal certificate store. You can determine whether you have access rights to a private key by double-clicking a certificate to view the certificate information.

e)     Troubleshooting the PVK Digital Certificate Files Importer

Due to a difference in default key lengths between Microsoft® Windows® Millennium, Microsoft® Windows® XP and other versions of Windows, the PvkImprt.exe tool may fail when used to import keys between Windows Millennium or Windows XP and other Windows platforms. You can solve this problem by doing the following:

Use PvkImprt.exe to export the .pvk and .spc or .cer files as type .pfx on a Windows platform that is the same as the one on which the keys were generated. For example, if the key pair was generated on a Windows Millennium or Windows XP computer, perform the .pfx export on a Windows Millennium or Windows XP computer.

Once the keys have been exported as type .pfx, they can be imported on any Windows platform using a certificate import tool. For example you could import the files by using the Certificate Import Wizard.

 

 

 

 

pvkimprt.exe 本资源为压缩文件,需解压安装到您机器上,功能介绍:使用PVKIMPORT把SPC和PVK转PFX格式 立即下载

相关推荐

pvkimprt.exe证书导出工具

pvkimprt.exe证书导出工具,证书导出工具用于将.spc和.pvk文件导出为pfx证书文件。直接安装,不需要解压缩,导出时,会提示创建证书的密码 输入正确的密码后,出现导出向导界面,点击下一步,选择“是,导出密钥”,然后点击下一步, 出现证书类型选择界面,选择“个人信息交换 - PKCS #12(.PFX)(P)”(只有这一种可选,并且其下面的选项均不选择),再点击下一步, 出现私钥保护密码选项,输入密码,然后点击下一步,在文本框中输入要生成的文件名(一般与证书名称一致,最后得到的文件名后缀是.pvk),点击下一步 显示完成窗口,并显示导出证书的信息。

把.pfx文件转为.pvk和.spc文件的办法

<br />以前从Verisign购买的证书都是.pvk+.spc文件,这次却得到一个.pfx文件,而inetsdk的SignCode.exe是使用.pvk+.spc文件的,只好去找工具来进行提取了。<br /><br />工具准备:首先需要OpenSSL,可以从这里下载。另外还需要pvk.exe,可以从这里下载。<br />用以下命令:<br />1) 从 PFX 文件提取私钥<br />->openssl pkcs12 -in (pfx-file) -nocerts -nodes -out (pem-k

我的编程之旅 5588

pvk程序用于证书格式转换

用于将X509PEM证书转证PVK及SPC格式

渗透测试 ( 3 ) --- Metasploit Framework (MSF)

Metasploit专业版和精简版的主要差别在于专业版上面集成了全自动攻击模块,通过远程API集成网络分割测试模块、标准基线审计向导模块、闭环漏洞验证优先处理功能、动态载荷规避防病毒解决方案、钓鱼意识管理和鱼叉式网络钓鱼模块、对OWASP Top 10漏洞的Web应用程序测试模块、高级命令行和Web界面的选择模块。但是,专业版是必须要付费的,所以除非用到非个人的功能,否则没有必要去使用专业版,而且,专业版和精简版的渗透攻击模块是一样的。.........

freeking101的博客 1万+

如何将.spc和.pvk转换成.pfx格式

NULL 博文链接:https://mimmy.iteye.com/blog/520604

H医药公司配送中心布局仿真优化

新增2个Source,Source1命名为“货物到达”,用来进行仿真供应商原料到达,Source2命名为“订单到达”,用来进行仿真客户需求订单的到达,如下图是设置两个发生器的具体参数。通过主操作界面上的各个实体工具,如发生器、暂存区、货架、处理器、吸收器等实体工具对初始模型和优化后的方案模型进行仿真建模,建立优化前后的模型图如下图所示。通过下表可以看出,优化前操作员的总运行距离为132.11km,而优化后操作员的总运行距离为128.17km,运行距离缩短,操作员的疲劳强度降低。

m0_72514516的博客 2533

Using pbuilder and sbuild and debuild to build debian package (by quqi99)

问题 在ussuri (16.3.0)里有一个bug, 但在steain(15.3.4)里没有,需要二分,先通过’git tag’找到其中的16.0.0, 16.1.0, 16.3.0三个tag 15.3.4 16.0.0 https://launchpad.net/ubuntu/+source/neutron/2:16.0.0-0ubuntu2 16.0.0.0b1 16.0.0.0rc1 16.0.0.0rc2 16.1.0 https://launchpad.net/ubuntu/+source/ne

技术并艺术着 1815

矢量网络分析仪VNA的校准之SOLT方法

作者:杭州冥鸿电子科技有限公司 邮箱:huanglong@deepelec.com S参数的测量方法有两种,一种是基于扫频测量的原理(VNA),另外一种是基于快沿阶跃响应的原理(TDR)。 下图是VNA的原理框图,主要包括以下部分: (1)激励信号源:提供感兴趣的频率范围内的入射信号; (2)信号分离装置:含功分器和定向耦合器,分离出入射,反射和传输信号; (3)接收机:...

u010018619的博客 2万+

如何制作.pfx数字证书

使用VS2005自动创建的.pfx数字证书默认有效期只有一年,并且“颁发者”、“颁发给”均为当前机器名和当前登陆用户名的组合,其实我们完全可以创建更友好的.pfx数字证书。 打开Microsoft.NET Framework的SDK命令提示,详细操作步骤如下: 1、创建一个自己签署的X.509证书.cer和一个私钥文件.pvk,用到.NET自带的makecert工具,命令如下:

一切尽在积累 1万+

WRF-Chem新手避坑指南:从chem_opt到emiss_opt,那些手册里没明说的参数配置实战

本文为WRF-Chem新手提供从chem_opt到emiss_opt的参数配置实战指南,解析官方文档中未明确的常见陷阱与解决方案。通过华北重霾案例,详细讲解化学机制选择、排放源配置及特殊参数组合的注意事项,帮助用户避开常见错误,提升模拟效率。

weixin_30897079的博客 287

使用 Python 爬取网易云音乐歌单数据(完整教程)

随着在线音乐平台的普及,网易云音乐(NetEase Cloud Music)凭借其个性化的推荐算法和丰富的用户互动,吸引了大量用户。网易云音乐的歌单中包含了丰富的音乐数据,包括歌曲名、歌手、专辑、播放量、评论数等信息。通过爬取这些数据,可以对音乐流行趋势进行分析,挖掘音乐推荐策略,甚至训练个性化推荐模型。网易云音乐的 API 并未官方开放,但开发者通过抓包和逆向分析,找到了若干可用接口。✅ 数据清洗与存储(CSV/数据库)✅ 网易云音乐 API 接口分析。✅ 网易云音乐接口解析。✅ 同步与异步爬取实现。

2201_76125261的博客 1377

Dynare的下载、安装和使用

Quick Start For those who want to quickly have something running, this page explains how to setup Dynare on Windows and to run your first model file. To run Dynare, you have the choice between r

u013313168的专栏 1万+

Transformer模型详解

​本文主要介绍Transformer系列,从基础到理论,对注意力机制进行总结并解释《Attention is all you need》,提出解决sequence to sequence问题的transformer模型,用全attention的结构代替了lstm,抛弃了之前传统的encoder-decoder模型必须结合cnn或者rnn的固有模式,只用attention。文章的主要目的是在减少计算量和提高并行效率的同时不损害最终的实验结果。

专注大数据与人工智能技术分享,欢迎私信加群互相学习! 5424

linux下安装软件包的方法

There are several ways of installing softwares in linux and they are described in many tutorials. this tutorial will cover most of the processes of installing softwares in a linux system. Online inst

Allen 1493

YOLOv5源码逐行超详细注释与解读(1)——项目目录结构解析

全网最全YOLOv5项目目录结构超详细分析。逐个文件注释,小白上手必备

路人贾的博客 9万+

微信小程序 - 解决报错 {“errcode“:41002,“errmsg“:“appid missing, rid: X“} 微信报错错误码errcode“:41002问题分析及解决教程(详细排查)

【微信小程序】报错{“errcode“:41002,“errmsg“:“appid missing, rid: 64e55770-67c1fb7e-027c5a70“}:【微信小程序】微信小程序登录请求出现appid missing提示,微信公众号{"errcode":41002,"errmsg":"appid missing"},微信 报错{“errcode“:41002,“errmsg“:“appid missing,微信小程序获取openid返回appid missing的问题,微信小程序提示Erro

🏆 前端领域优质创作者 5691

python-英语学习-mp3文件按时分段分片-时间统计功能-tinytag

使用Python与tinytag库,可高效统计MP3文件总时长、定位累计达指定时长(如75分钟)的首个文件,并按30分钟为单位自动分组复制至子目录,支持路径自定义与错误处理,适用于英语学习资料等音频管理场景。

插件开发 45

第十四节《OpenCascade集成Qt》

将 OpenCascade 与 Qt 集成是开发图形界面应用的常见需求。通过将 OpenCascade 的几何建模与 Qt 的图形用户界面(GUI)功能结合,可以创建强大而灵活的 CAD 或建模工具。OpenCascade 提供了与 Qt 的集成接口,允许你在 Qt 应用程序中嵌入 OpenCascade 的视图,执行几何操作,并与用户进行交互。以下是 OpenCascade 与 Qt 集成的详细步骤:首先,确保已安装 OpenCascade 和 Qt。你可以从 OpenCascade 官方网站或通过包管理

yumeiguo的博客 599

C++20-概念与约束

C++ 20 概念与约束详解

m0_74189279的博客 223

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

Java 泛型详解:为什么要用泛型?实战+避坑(CSDN)

在没有泛型之前,集合只能存放Object类型对象,取出元素必须强制类型转换,极易出现ClassCastException运行时异常。Java泛型实现了编译期类型检查,把类型错误提前到编译阶段,同时减少强制类型转换代码,是集合框架、工具类开发的基础。Java泛型是伪泛型,编译之后字节码会擦除泛型信息:List<String> 和 List<Integer> 在运行时都是List。泛型的核心价值:编译期类型安全 + 消除强制转换,掌握擦除原理和PECS原则,写出更健壮的集合与工具类代码。extends /?

2502_93522185的博客 423

老版QQ原生表情gif动态

这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。

import cn.hutool.core.collection.CollUtil常用库介绍一下

在平时的 Java 开发中,只要涉及到集合的判空、去重、求交集/差集、List 转 Map 等操作,都可以优先看看。

qq_26889291的博客 256

锂电池充电器电路设计 里面有电路

锂电池充电器电路设计 里面有电路 3.7V升压到5V电路设计。

从0开发游戏引擎-对象管理器ObjectManage实现

📚依赖知识:Node 类(zOrder 成员)、2D 游戏对象 Cobject(colliderWith / isRelease)。

qq_33531923的博客 196

用 Python 给长文做排版体检:图够不够、段落是不是太长

如果只按字符数硬算,代码块会被当成正文,一张 30 行的代码贴进去,立刻触发「连续正文 800 字」。清单和小标题也一样,它们本来就是分行内容,视觉密度低。import re[](path)RE_MOUNT = re.compile(r"^\[\[IMG:[^\]]+\]\]\s*$") # [[IMG:path|caption]] 独占一行RE_HEAD = re.compile(r"^#{1,6}\s") # 标题") # 引用块。

邱华林的博客 376

《AI 编程 Harness 实战手册》08|安全边界检查_如何确认防护有效

本文介绍如何有效验证AI Agent安全边界是否真正生效。针对配置文件虽正确但运行时可能失效的五大风险(如沙箱未启用、环境变量泄漏、hook崩溃等),提出三重验证机制:静态检查、系统层运行时测试(boundary_probe.py)与Agent行为演练(agent_drill.py)。通过基线对比法,精准识别写入、网络、凭据、环境变量等限制是否实际生效。实测显示,即使配置看似完整,若遗漏清理环境变量,仍可能导致密钥泄露。最终提供可执行脚本与检查清单,确保安全防护“真管用”。

forest_09的博客 308

Java 面试题:数组和 List 如何快速互转?最佳方案是什么?(其他高频面试API)

业务需求推荐 APIList 判断元素是否存在contains()List 根据条件查询单个对象List 根据条件查询多个对象List 判断是否存在符合条件的数据anyMatch()List 排序后快速查找Map 根据 Key 查询 Valueget()Map 判断 Key 是否存在大量数据判断元素是否存在List 根据 ID 高频查询List 转 HashMap两个 List 根据 ID 关联一个 List 转 Map。

两点 614

c++ list 基础使用+底层实现

介绍了list的常用接口,并且对一些常见的接口进行了模拟实现,尤其是ist的迭代器尤为重要。

晴天的博客 227
上一篇: VFB
下一篇: about sqlite
Dlanguage
博客等级 码龄21年 4粉丝 5原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值