void CwxPropPageAuthenticationSheet::OnBnOpenPrivateKey()
{
TCHAR szFilters[]= _T("(*.pem)|*.pem||");
LPCTSTR lpstrDefExt =_T("");
LPCTSTR lpszFileName=_T("*.*");
DWORD dwFlags=OFN_FILEMUSTEXIST| OFN_HIDEREADONLY;
CFileDialog fileDlg (TRUE, lpstrDefExt,lpszFileName,
dwFlags, szFilters,this);
if( fileDlg.DoModal() != IDOK )
return;
CString strFileName = fileDlg.GetFileName();
//CString strPath = fileDlg.GetPathName();
m_strPrivateKey = fileDlg.GetPathName().GetBuffer();
fileDlg.GetPathName().ReleaseBuffer();
UpdateData(FALSE);
}